IPXC_RectsF::InsertFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search

Inserts items from the source rectangle array into given position.

Syntax

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

Parameters

pSrc
[in] Pointer to IPXC_RectsF containing the source rectangle array.
nStartSrcIndex
[in, defaultvalue(0)] Starting index in the source array.
nSrcItemsCount
[in, defaultvalue(-1)] Number of items to copy from the source array.
nDstIndex
[in, defaultvalue(-1)] Destination index in the current rectangle array.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IPXC_RectsF