PXV_DocCloseFlags Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
(Label ToWrite removed)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
{{#customTitle:PXV_DocCloseFlags Enumeration}}
 
{{#customTitle:PXV_DocCloseFlags Enumeration}}
 
{{#parentPage:PXV:PXV_Enumerations|PXV_DocCloseFlags|enum}}
 
{{#parentPage:PXV:PXV_Enumerations|PXV_DocCloseFlags|enum}}
{{ToWrite}}
+
 
 
{{ToReview}}
 
{{ToReview}}
  
Specifies the ...
+
Specifies additional 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 ...
+

Latest revision as of 01:08, 16 March 2016


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.