IPXC_Rects::InsertFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in]                    IPXC_Rects*  pSrc,
+
<pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in]                    IPXC_Rects*  Src,
                   [in, defaultvalue(0)]  ULONG        nStartSrcIndex,
+
                   [in, defaultvalue(0)]  ULONG        StartSrcIndex,
                   [in, defaultvalue(-1)]  ULONG        nSrcItemsCount,
+
                   [in, defaultvalue(-1)]  ULONG        SrcItemsCount,
                   [in, defaultvalue(-1)]  ULONG        nDstIndex);</pre>
+
                   [in, defaultvalue(-1)]  ULONG        DstIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pSrc
+
;Src
 
:[in]  Pointer to [[PXV:IPXC_Rects|IPXC_Rects]] containing the source rectangle array.
 
:[in]  Pointer to [[PXV:IPXC_Rects|IPXC_Rects]] containing the source rectangle array.
;nStartSrcIndex
+
;StartSrcIndex
 
:[in, defaultvalue(0)]  Starting index in the source array.
 
:[in, defaultvalue(0)]  Starting index in the source array.
;nSrcItemsCount
+
;SrcItemsCount
 
:[in, defaultvalue(-1)]  Number of items to copy from the source array.
 
:[in, defaultvalue(-1)]  Number of items to copy from the source array.
;nDstIndex
+
;DstIndex
 
:[in, defaultvalue(-1)]  Destination index in the current rectangle array.
 
:[in, defaultvalue(-1)]  Destination index in the current rectangle array.
  

Revision as of 07:11, 12 June 2015

Inserts items from the source rectangle array into given position.

Syntax

HRESULT InsertFrom([in]                    IPXC_Rects*  Src,
                   [in, defaultvalue(0)]   ULONG        StartSrcIndex,
                   [in, defaultvalue(-1)]  ULONG        SrcItemsCount,
                   [in, defaultvalue(-1)]  ULONG        DstIndex);

Parameters

Src
[in] Pointer to IPXC_Rects containing the source rectangle array.
StartSrcIndex
[in, defaultvalue(0)] Starting index in the source array.
SrcItemsCount
[in, defaultvalue(-1)] Number of items to copy from the source array.
DstIndex
[in, defaultvalue(-1)] Destination index in the current rectangle array.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IPXC_Rects