IPXC_PolygonSrcF::Insert Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_PolygonSrcF::Insert Method}}
 
{{#customTitle:IPXC_PolygonSrcF::Insert Method}}
 +
{{#parentPage:PXV:IPXC_PolygonSrcF#Methods|Insert|method}}
 +
{{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, [in, optional] ULONG nCount, [in, optional] ULONG nIndex);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Insert([in]                   PXC_PointF* stItems,
 +
              [in, defaultvalue(1)]   ULONG       nCount,
 +
              [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, optional]  Value of ULONG.
+
:[in, defaultvalue(1)]  Value of ULONG containing the number of the points that would be inserted.
;''nIndex''
+
;nIndex
:[in, optional]  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 ==
Line 19: Line 24:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_PolygonSrcF|IPXC_PolygonSrcF]].
+
[[PXV:IPXC_PolygonSrcF|IPXC_PolygonSrcF]]

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