IPXV_Control::PrintWithDlg Method
From PDF XChange PDF SDK
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 | + | <pre class="brush:cpp;gutter:false">HRESULT PrintWithDlg([in, defaultvalue(0)] VARIANT_BOOL bUseDefOpts, |
− | [in, defaultvalue(-1)] VARIANT_BOOL | + | [in, defaultvalue(-1)] VARIANT_BOOL bSaveUserChanges);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;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. | ||
− | ; | + | ;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 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.