IPXC_RectsF::Insert 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 Insert([in]                    PXC_RectF*  Items,
+
<pre class="brush:cpp;gutter:false">HRESULT Insert([in]                    PXC_RectF*  stItems,
               [in, defaultvalue(1)]  ULONG      Count,
+
               [in, defaultvalue(1)]  ULONG      nCount,
               [in, defaultvalue(-1)]  ULONG      Index);</pre>
+
               [in, defaultvalue(-1)]  ULONG      nIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Items
+
;stItems
 
:[in]  Pointer to [[PXV:PXC_RectF|PXC_RectF]] pointing to the start of the rectangle array that needs to be inserted.
 
:[in]  Pointer to [[PXV:PXC_RectF|PXC_RectF]] pointing to the start of the rectangle array that needs to be inserted.
;Count
+
;nCount
 
:[in, defaultvalue(1)]  Size of the array that needs to be inserted.
 
:[in, defaultvalue(1)]  Size of the array that needs to be inserted.
;Index
+
;nIndex
 
:[in, defaultvalue(-1)]  Index where the items would be inserted.
 
:[in, defaultvalue(-1)]  Index where the items would be inserted.
  

Latest revision as of 03:35, 15 June 2015

Inserting rectangle items into the given position in the array.

Syntax

HRESULT Insert([in]                    PXC_RectF*  stItems,
               [in, defaultvalue(1)]   ULONG       nCount,
               [in, defaultvalue(-1)]  ULONG       nIndex);

Parameters

stItems
[in] Pointer to PXC_RectF pointing to the start of the rectangle array that needs to be inserted.
nCount
[in, defaultvalue(1)] Size of the array that needs to be inserted.
nIndex
[in, defaultvalue(-1)] Index where the items would be inserted.

Return Value

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

See Also

IPXC_RectsF