IUIX_Inst::CreateNewImage Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 10: | Line 10: | ||
<pre class="brush:cpp;gutter:false">HRESULT CreateNewImage([in] LONG nWidth, | <pre class="brush:cpp;gutter:false">HRESULT CreateNewImage([in] LONG nWidth, | ||
[in] LONG nHeight, | [in] LONG nHeight, | ||
− | [out, retval] IUIX_ImageData** | + | [out, retval] IUIX_ImageData** pImage);</pre> |
== Parameters == | == Parameters == | ||
Line 17: | Line 17: | ||
;nHeight | ;nHeight | ||
:[in] image height in pixels. | :[in] image height in pixels. | ||
− | ; | + | ;pImage |
:[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 02:04, 4 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 operation was successful or error code in other cases.