PXV_DocCloseFlags Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
Line 6: Line 6:
 
{{ToReview}}
 
{{ToReview}}
  
Specifies flags for document closing.
+
Specifies additional flags for document closing.
  
 
== Syntax ==
 
== Syntax ==

Revision as of 12:56, 23 December 2015


Specifies additional flags for document closing.

Syntax

enum PXV_DocCloseFlags
{
    PXV_DocClose_AllowUI         = 1,
    PXV_DocClose_AllowCancel     = 2,
    PXV_DocClose_AllowSilentSave = 4,
};

Constants

PXV_DocClose_AllowUI
Allows the addional UI-messages that can be displayed for end-user during closing the document like message box that asks user about save changes of document.
PXV_DocClose_AllowCancel
Allows cancel of the document closing process. When it is specified then handlers of the e.document.beforeClose event of will be able to stop the document closing process.
PXV_DocClose_AllowSilentSave
When specified then all existing changes of document will be saved automatically to the source without asking the user.