IPXC_PolygonSrcF::Insert Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
{{#customTitle:IPXC_PolygonSrcF::Insert Method}}
 
{{#customTitle:IPXC_PolygonSrcF::Insert Method}}
 
{{#parentPage:PXV:IPXC_PolygonSrcF#Methods|Insert|method}}
 
{{#parentPage:PXV:IPXC_PolygonSrcF#Methods|Insert|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Inserts new points into the polygon's point array.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Insert([in]                    PXC_PointF*  pItems,
+
<pre class="brush:cpp;gutter:false">HRESULT Insert([in]                    PXC_PointF*  stItems,
 
               [in, defaultvalue(1)]  ULONG        nCount,
 
               [in, defaultvalue(1)]  ULONG        nCount,
 
               [in, defaultvalue(-1)]  ULONG        nIndex);</pre>
 
               [in, defaultvalue(-1)]  ULONG        nIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pItems
+
;stItems
:[in]  Pointer to [[PXV:PXC_PointF|PXC_PointF]].
+
:[in]  Pointer to [[PXV:PXC_PointF|PXC_PointF]] containing the pointer to the first item in the polygon's point array.
 
;nCount
 
;nCount
:[in, defaultvalue(1)]  Value of ULONG.
+
:[in, defaultvalue(1)]  Value of ULONG containing the number of the points that would be inserted.
 
;nIndex
 
;nIndex
:[in, defaultvalue(-1)]  Value of ULONG.
+
:[in, defaultvalue(-1)]  Value of ULONG containing the index in the polygon's array where the new points will be inserted at.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 04:17, 18 March 2016


Inserts new points into the polygon's point array.

Syntax

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

Parameters

stItems
[in] Pointer to PXC_PointF containing the pointer to the first item in the polygon's point array.
nCount
[in, defaultvalue(1)] Value of ULONG containing the number of the points that would be inserted.
nIndex
[in, defaultvalue(-1)] Value of ULONG containing the index in the polygon's array where the new points will be inserted at.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_PolygonSrcF