IPXV_Control::PrintPages Method

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

See Also

IPXV_Control