IPXC_Document::AddImageFromIXCPage Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 10: Line 10:
 
<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**  ppImage);</pre>
+
                             [out, retval]          IPXC_Image**  pImage);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 17: Line 17:
 
;nFlags
 
;nFlags
 
:[in, defaultvalue(0)] Specifies additional [[PXV:PXC_ImageToXObjectFlags|flags]] of image creation.
 
:[in, defaultvalue(0)] Specifies additional [[PXV:PXC_ImageToXObjectFlags|flags]] of image creation.
;ppImage
+
;pImage
 
:[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 02:14, 4 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.

See Also

IPXC_Document