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)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_RectsF::Insert Method}}
 
{{#customTitle:IPXC_RectsF::Insert Method}}
{{#parentPage:PXV:IPXC_RectsF|method}}
+
{{#parentPage:PXV:IPXC_RectsF#Methods|Insert|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
Inserting [[PXV:PXC_RectF|rectangle items]] into the given position in the array.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Insert([in] PXC_RectF* pItems, [in, defaultvalue(1)] ULONG nCount, [in, defaultvalue(-1)] ULONG nIndex);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Insert([in]                   PXC_RectF* stItems,
 +
              [in, defaultvalue(1)]   ULONG       nCount,
 +
              [in, defaultvalue(-1)] ULONG       nIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pItems''
+
;stItems
:[in]  Pointer to [[PXV:PXC_RectF|PXC_RectF]].
+
:[in]  Pointer to [[PXV:PXC_RectF|PXC_RectF]] pointing to the start of the rectangle array that needs to be inserted.
;''nCount''
+
;nCount
:[in, defaultvalue(1)]  Value of ULONG.
+
:[in, defaultvalue(1)]  Size of the array that needs to be inserted.
;''nIndex''
+
;nIndex
:[in, defaultvalue(-1)]  Value of ULONG.
+
:[in, defaultvalue(-1)]  Index where the items would be inserted.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_RectsF|IPXC_RectsF]].
+
[[PXV:IPXC_RectsF|IPXC_RectsF]]

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