IPXV_Control::PrintWithDlg Method
From PDF XChange PDF SDK
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 UseDefOpts, |
− | [in, defaultvalue(-1)] VARIANT_BOOL | + | [in, defaultvalue(-1)] VARIANT_BOOL SaveUserChanges);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;UseDefOpts |
:[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 |
:[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. | ||
Revision as of 06:26, 12 June 2015
Shows the Print dialog.
Syntax
HRESULT PrintWithDlg([in, defaultvalue(0)] VARIANT_BOOL UseDefOpts, [in, defaultvalue(-1)] VARIANT_BOOL SaveUserChanges);
Parameters
- UseDefOpts
- [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.
- SaveUserChanges
- [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.