IPXC_PolygonSrcF::InsertFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search


Inserts points from the source polygon's points array.

Syntax

HRESULT InsertFrom([in]                    IPXC_PolygonSrcF*  pSrc,
                   [in, defaultvalue(0)]   ULONG              nStartSrcIndex,
                   [in, defaultvalue(-1)]  ULONG              nSrcItemsCount,
                   [in, defaultvalue(-1)]  ULONG              nDstIndex);

Parameters

pSrc
[in] Pointer to IPXC_PolygonSrcF containing the source polygon's point array.
nStartSrcIndex
[in, defaultvalue(0)] Value of ULONG containing the start index of the items in the source polygon's point array that would be inserted.
nSrcItemsCount
[in, defaultvalue(-1)] Value of ULONG containing the number of items from the source polygon's point array that would be inserted.
nDstIndex
[in, defaultvalue(-1)] Value of ULONG containing the destination index in the current polygon's point array where the items from the source polygon's point array would be inserted.

Return Value

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

See Also

IPXC_PolygonSrcF