IPXC_PolygonSrcF::Insert Method

From PDF XChange PDF SDK
Revision as of 04:17, 18 March 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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