IPXC_Rects::Insert Method

From PDF XChange PDF SDK
Jump to: navigation, search

Inserting rectangle items into the given position in the array.

Syntax

HRESULT Insert([in]                    PXC_Rect*  stItems,
               [in, defaultvalue(1)]   ULONG      nCount,
               [in, defaultvalue(-1)]  ULONG      nIndex);

Parameters

stItems
[in] Pointer to PXC_Rect pointing to the start of the rectangle array that needs to be inserted.
nCount
[in, defaultvalue(1)] Size of the array that needs to be inserted.
nIndex
[in, defaultvalue(-1)] Index where the items would be inserted.

Return Value

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

See Also

IPXC_Rects