PXV_DocCloseFlags Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 6: Line 6:
 
{{ToReview}}
 
{{ToReview}}
  
Specifies the ...
+
Specifies flags for document closing.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 14:
 
     PXV_DocClose_AllowCancel    = 2,
 
     PXV_DocClose_AllowCancel    = 2,
 
     PXV_DocClose_AllowSilentSave = 4,
 
     PXV_DocClose_AllowSilentSave = 4,
    PXV_DocClose_AllowAsync      = 8,
 
 
};
 
};
 
</pre>
 
</pre>
Line 20: Line 19:
 
== Constants ==
 
== Constants ==
 
;PXV_DocClose_AllowUI
 
;PXV_DocClose_AllowUI
:The ...
+
: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
 
;PXV_DocClose_AllowCancel
:The ...
+
: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
 
;PXV_DocClose_AllowSilentSave
:The ...
+
:When specified then all existing changes of document will be saved automatically to the source without asking the user.
;PXV_DocClose_AllowAsync
+
:The ...
+

Revision as of 12:56, 23 December 2015


Specifies 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.