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

Revision as of 07:11, 12 June 2015

Inserting rectangle items into the given position in the array.

Syntax

HRESULT Insert([in]                    PXC_RectF*  Items,
               [in, defaultvalue(1)]   ULONG       Count,
               [in, defaultvalue(-1)]  ULONG       Index);

Parameters

Items
[in] Pointer to PXC_RectF pointing to the start of the rectangle array that needs to be inserted.
Count
[in, defaultvalue(1)] Size of the array that needs to be inserted.
Index
[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