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*  Src,
+
<pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in]                    IPXC_Rects*  pSrc,
                   [in, defaultvalue(0)]  ULONG        StartSrcIndex,
+
                   [in, defaultvalue(0)]  ULONG        nStartSrcIndex,
                   [in, defaultvalue(-1)]  ULONG        SrcItemsCount,
+
                   [in, defaultvalue(-1)]  ULONG        nSrcItemsCount,
                   [in, defaultvalue(-1)]  ULONG        DstIndex);</pre>
+
                   [in, defaultvalue(-1)]  ULONG        nDstIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Src
+
;pSrc
 
:[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.
;StartSrcIndex
+
;nStartSrcIndex
 
:[in, defaultvalue(0)]  Starting index in the source array.
 
:[in, defaultvalue(0)]  Starting index in the source array.
;SrcItemsCount
+
;nSrcItemsCount
 
:[in, defaultvalue(-1)]  Number of items to copy from the source array.
 
:[in, defaultvalue(-1)]  Number of items to copy from the source array.
;DstIndex
+
;nDstIndex
 
:[in, defaultvalue(-1)]  Destination index in the current rectangle array.
 
:[in, defaultvalue(-1)]  Destination index in the current rectangle array.
  

Latest revision as of 03:35, 15 June 2015

Inserts items from the source rectangle array into given position.

Syntax

HRESULT InsertFrom([in]                    IPXC_Rects*  pSrc,
                   [in, defaultvalue(0)]   ULONG        nStartSrcIndex,
                   [in, defaultvalue(-1)]  ULONG        nSrcItemsCount,
                   [in, defaultvalue(-1)]  ULONG        nDstIndex);

Parameters

pSrc
[in] Pointer to IPXC_Rects containing the source rectangle array.
nStartSrcIndex
[in, defaultvalue(0)] Starting index in the source array.
nSrcItemsCount
[in, defaultvalue(-1)] Number of items to copy from the source array.
nDstIndex
[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