IPXV_Control::PrintWithDlg Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(9 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#Methods|PrintWithDlg|method}} | ||
+ | {{ToReview}} | ||
− | + | Shows the ''Print'' dialog. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT PrintWithDlg([in, | + | <pre class="brush:cpp;gutter:false">HRESULT PrintWithDlg([in, defaultvalue(0)] VARIANT_BOOL bUseDefOpts, |
+ | [in, defaultvalue(-1)] VARIANT_BOOL bSaveUserChanges);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;bUseDefOpts |
− | :[in, | + | :[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, | + | :[in, defaultvalue(-1)] The flag that controls the saving the user's printing-preferences. |
== Return Value == | == Return Value == | ||
Line 17: | Line 21: | ||
== See Also == | == See Also == | ||
− | + | [[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.