IPXC_Document::AddImageFromIXCPage Method

From PDF XChange PDF SDK
Jump to: navigation, search
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*    Page,
+
<pre class="brush:cpp;gutter:false">HRESULT AddImageFromIXCPage([in]                  IIXC_Page*    pPage,
                             [in, defaultvalue(0)]  ULONG        Flags,
+
                             [in, defaultvalue(0)]  ULONG        nFlags,
                             [out, retval]          IPXC_Image**  Image);</pre>
+
                             [out, retval]          IPXC_Image**  pImage);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Page
+
;pPage
 
:[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
+
;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.
;Image
+
;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.
  

Latest revision as of 03: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.

See Also

IPXC_Document