IPXC_Document::AddImageFromIXCPage Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT AddImageFromIXCPage([in] IIXC_Page* | + | <pre class="brush:cpp;gutter:false">HRESULT AddImageFromIXCPage([in] IIXC_Page* Page, |
− | [in, defaultvalue(0)] ULONG | + | [in, defaultvalue(0)] ULONG Flags, |
− | [out, retval] IPXC_Image** | + | [out, retval] IPXC_Image** Image);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;Page |
:[in] Specifies a [[PXV:IIXC_Page|IIXC_Page]] object from which new document image will be created. | :[in] Specifies a [[PXV:IIXC_Page|IIXC_Page]] object from which new document image will be created. | ||
− | ; | + | ;Flags |
:[in, defaultvalue(0)] Specifies additional [[PXV:PXC_ImageToXObjectFlags|flags]] of image creation. | :[in, defaultvalue(0)] Specifies additional [[PXV:PXC_ImageToXObjectFlags|flags]] of image creation. | ||
− | ; | + | ;Image |
:[out, retval] Returns an [[PXV:IPXC_Image|IPXC_Image]] object of newly created image. | :[out, retval] Returns an [[PXV:IPXC_Image|IPXC_Image]] object of newly created image. | ||
Revision as of 05:59, 12 June 2015
Creates a new image in the document based on specified image page.
Syntax
HRESULT AddImageFromIXCPage([in] IIXC_Page* Page, [in, defaultvalue(0)] ULONG Flags, [out, retval] IPXC_Image** Image);
Parameters
- Page
- [in] Specifies a IIXC_Page object from which new document image will be created.
- Flags
- [in, defaultvalue(0)] Specifies additional flags of image creation.
- Image
- [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.