IUIX_Inst::CreateNewImage 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 CreateNewImage([in]          LONG              nWidth,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewImage([in]          LONG              Width,
                       [in]          LONG              nHeight,
+
                       [in]          LONG              Height,
                       [out, retval]  IUIX_ImageData**  pImage);</pre>
+
                       [out, retval]  IUIX_ImageData**  Image);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nWidth
+
;Width
 
:[in]  image width in pixels.
 
:[in]  image width in pixels.
;nHeight
+
;Height
 
:[in]  image height in pixels.
 
:[in]  image height in pixels.
;pImage
+
;Image
 
:[out, retval]  return object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface.
 
:[out, retval]  return object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface.
  

Revision as of 07:51, 12 June 2015


Creates new image object of IUIX_ImageData interface of given size.

Syntax

HRESULT CreateNewImage([in]           LONG              Width,
                       [in]           LONG              Height,
                       [out, retval]  IUIX_ImageData**  Image);

Parameters

Width
[in] image width in pixels.
Height
[in] image height in pixels.
Image
[out, retval] return object of IUIX_ImageData interface.

Return Value

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

See Also

IUIX_Inst