IPXC_Document::AddImageFromIXCPage Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXC_Document::AddImageFromIXCPage Method}} | {{#customTitle:IPXC_Document::AddImageFromIXCPage Method}} | ||
− | {{#parentPage:PXV:IPXC_Document|AddImageFromIXCPage | + | {{#parentPage:PXV:IPXC_Document#Methods|AddImageFromIXCPage|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates a new image in the document based on specified [[PXV:IIXC_Page|image page]]. | |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT AddImageFromIXCPage([in] IIXC_Page* pPage, | <pre class="brush:cpp;gutter:false">HRESULT AddImageFromIXCPage([in] IIXC_Page* pPage, | ||
[in, defaultvalue(0)] ULONG nFlags, | [in, defaultvalue(0)] ULONG nFlags, | ||
− | [out, retval] IPXC_Image** | + | [out, retval] IPXC_Image** pImage);</pre> |
== Parameters == | == Parameters == | ||
;pPage | ;pPage | ||
− | :[in] | + | :[in] Specifies a [[PXV:IIXC_Page|IIXC_Page]] object from which new document image will be created. |
;nFlags | ;nFlags | ||
− | :[in, defaultvalue(0)] | + | :[in, defaultvalue(0)] Specifies additional [[PXV:PXC_ImageToXObjectFlags|flags]] of image creation. |
− | ; | + | ;pImage |
− | :[out, retval] | + | :[out, retval] Returns an [[PXV:IPXC_Image|IPXC_Image]] object of newly created image. |
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code in other cases. | + | Returns <tt>S_OK</tt> if operation was successful or error code in other cases. |
== See Also == | == See Also == | ||
− | + | [[PXV:IPXC_Document|IPXC_Document]] |
Latest revision as of 02:24, 15 June 2015
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.