IUIX_Inst::CreateNewImage Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
{{#customTitle:IUIX_Inst::CreateNewImage Method}}
 
{{#customTitle:IUIX_Inst::CreateNewImage Method}}
 
{{#parentPage:PXV:IUIX_Inst#Methods|CreateNewImage|method}}
 
{{#parentPage:PXV:IUIX_Inst#Methods|CreateNewImage|method}}
{{ToReview}}
+
 
  
 
Creates new ''image'' object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface of given size.
 
Creates new ''image'' object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface of given size.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateNewImage([in]          LONG              Width,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewImage([in]          LONG              nWidth,
                       [in]          LONG              Height,
+
                       [in]          LONG              nHeight,
                       [out, retval]  IUIX_ImageData**  Image);</pre>
+
                       [out, retval]  IUIX_ImageData**  pImage);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Width
+
;nWidth
 
:[in]  image width in pixels.
 
:[in]  image width in pixels.
;Height
+
;nHeight
 
:[in]  image height in pixels.
 
:[in]  image height in pixels.
;Image
+
;pImage
 
:[out, retval]  return object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface.
 
:[out, retval]  return object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.  
  
 
== See Also ==
 
== See Also ==
 
[[PXV:IUIX_Inst|IUIX_Inst]]
 
[[PXV:IUIX_Inst|IUIX_Inst]]

Latest revision as of 10:06, 16 June 2015


Creates new image object of IUIX_ImageData interface of given size.

Syntax

HRESULT CreateNewImage([in]           LONG              nWidth,
                       [in]           LONG              nHeight,
                       [out, retval]  IUIX_ImageData**  pImage);

Parameters

nWidth
[in] image width in pixels.
nHeight
[in] image height in pixels.
pImage
[out, retval] return object of IUIX_ImageData interface.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Inst