IPXC_Document::AddImageFromIXCPage Method

From PDF XChange PDF SDK
Jump to: navigation, search


Creates a new image in the document based on specified image page.

Syntax

HRESULT AddImageFromIXCPage([in]                   IIXC_Page*    pPage,
                            [in, defaultvalue(0)]  ULONG         nFlags,
                            [out, retval]          IPXC_Image**  pImage);

Parameters

pPage
[in] Specifies a IIXC_Page object from which new document image will be created.
nFlags
[in, defaultvalue(0)] Specifies additional flags of image creation.
pImage
[out, retval] Returns an IPXC_Image object of newly created image.

Return Value

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

See Also

IPXC_Document