IPXC_PolygonSrcF::Insert Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(One intermediate revision 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}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Inserts new points into the polygon's point array. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Insert([in] PXC_PointF* | + | <pre class="brush:cpp;gutter:false">HRESULT Insert([in] PXC_PointF* stItems, |
− | [in, defaultvalue(1)] ULONG | + | [in, defaultvalue(1)] ULONG nCount, |
− | [in, defaultvalue(-1)] ULONG | + | [in, defaultvalue(-1)] ULONG nIndex);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;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 |
− | :[in, defaultvalue(1)] Value of ULONG. | + | :[in, defaultvalue(1)] Value of ULONG containing the number of the points that would be inserted. |
− | ; | + | ;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 03: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.