IPXV_Control::PrintWithDlg Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Control::PrintWithDlg Method}}
 
{{#customTitle:IPXV_Control::PrintWithDlg Method}}
{{#parentPage:PXV:IPXV_Control|method}}
+
{{#parentPage:PXV:IPXV_Control#Methods|PrintWithDlg|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Shows the ''Print'' dialog.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT PrintWithDlg([in, defaultvalue(0)] VARIANT_BOOL bUseDefOpts, [in, defaultvalue(-1)] VARIANT_BOOL bSaveUserChanges);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT PrintWithDlg([in, defaultvalue(0)]   VARIANT_BOOL bUseDefOpts,
 +
                    [in, defaultvalue(-1)] VARIANT_BOOL bSaveUserChanges);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''bUseDefOpts''
+
;bUseDefOpts
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  The flag that controls the using of default print-options. You may pass <tt>false</tt> to use the options last used by end-user.
;''bSaveUserChanges''
+
;bSaveUserChanges
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(-1)]  The flag that controls the saving the user's printing-preferences.
  
 
== Return Value ==
 
== Return Value ==
Line 20: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_Control|IPXV_Control]].
+
[[PXV:IPXV_Control|IPXV_Control]]

Latest revision as of 02:50, 15 June 2015


Shows the Print dialog.

Syntax

HRESULT PrintWithDlg([in, defaultvalue(0)]   VARIANT_BOOL  bUseDefOpts,
                     [in, defaultvalue(-1)]  VARIANT_BOOL  bSaveUserChanges);

Parameters

bUseDefOpts
[in, defaultvalue(0)] The flag that controls the using of default print-options. You may pass false to use the options last used by end-user.
bSaveUserChanges
[in, defaultvalue(-1)] The flag that controls the saving the user's printing-preferences.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Control