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)
 
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT PrintWithDlg([in, defaultvalue(0)]  VARIANT_BOOL  UseDefOpts,
+
<pre class="brush:cpp;gutter:false">HRESULT PrintWithDlg([in, defaultvalue(0)]  VARIANT_BOOL  bUseDefOpts,
                     [in, defaultvalue(-1)]  VARIANT_BOOL  SaveUserChanges);</pre>
+
                     [in, defaultvalue(-1)]  VARIANT_BOOL  bSaveUserChanges);</pre>
  
 
== Parameters ==
 
== Parameters ==
;UseDefOpts
+
;bUseDefOpts
 
:[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.
 
:[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.
;SaveUserChanges
+
;bSaveUserChanges
 
:[in, defaultvalue(-1)]  The flag that controls the saving the user's printing-preferences.
 
:[in, defaultvalue(-1)]  The flag that controls the saving the user's printing-preferences.
  

Latest revision as of 03: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