IPXV_Control::PrintPages 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 PrintPages([in] ULONG | + | <pre class="brush:cpp;gutter:false">HRESULT PrintPages([in] ULONG nFirst, |
− | [in] ULONG | + | [in] ULONG nCount, |
− | [in, defaultvalue(-1)] VARIANT_BOOL | + | [in, defaultvalue(-1)] VARIANT_BOOL bUseDefOpts);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;nFirst |
:[in] The zero-based index of the first page to be printed. | :[in] The zero-based index of the first page to be printed. | ||
− | ; | + | ;nCount |
− | :[in] The count of pages to be printed, including the page specified by <tt> | + | :[in] The count of pages to be printed, including the page specified by <tt>nFirst</tt>. |
− | ; | + | ;bUseDefOpts |
:[in, defaultvalue(-1)] 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(-1)] 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. | ||
Latest revision as of 03:50, 15 June 2015
Prints the specified pages range.
Syntax
HRESULT PrintPages([in] ULONG nFirst, [in] ULONG nCount, [in, defaultvalue(-1)] VARIANT_BOOL bUseDefOpts);
Parameters
- nFirst
- [in] The zero-based index of the first page to be printed.
- nCount
- [in] The count of pages to be printed, including the page specified by nFirst.
- bUseDefOpts
- [in, defaultvalue(-1)] The flag that controls the using of default print-options. You may pass false to use the options last used by end-user.
Return Value
Returns S_OK if operation was successful or error code in other cases.