IPXV_Control::PrintPages Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT PrintPages([in]                    ULONG        nFirst,
+
<pre class="brush:cpp;gutter:false">HRESULT PrintPages([in]                    ULONG        First,
                   [in]                    ULONG        nCount,
+
                   [in]                    ULONG        Count,
                   [in, defaultvalue(-1)]  VARIANT_BOOL  bUseDefOpts);</pre>
+
                   [in, defaultvalue(-1)]  VARIANT_BOOL  UseDefOpts);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nFirst
+
;First
 
:[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
+
;Count
:[in]  The count of pages to be printed, including the page specified by <tt>nFirst</tt>.
+
:[in]  The count of pages to be printed, including the page specified by <tt>First</tt>.
;bUseDefOpts
+
;UseDefOpts
 
:[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.
  

Revision as of 07:26, 12 June 2015


Prints the specified pages range.

Syntax

HRESULT PrintPages([in]                    ULONG         First,
                   [in]                    ULONG         Count,
                   [in, defaultvalue(-1)]  VARIANT_BOOL  UseDefOpts);

Parameters

First
[in] The zero-based index of the first page to be printed.
Count
[in] The count of pages to be printed, including the page specified by First.
UseDefOpts
[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.

See Also

IPXV_Control