IUIX_Inst::CreateNewImage Method
From PDF XChange PDF SDK
Line 24: | Line 24: | ||
== See Also == | == See Also == | ||
− | [[PXV:IUIX_Inst|IUIX_Inst]]. | + | [[PXV:IUIX_Inst|IUIX_Inst]], [[PXV:IUIX_ImageData|IUIX_ImageData]]. |
Revision as of 23:56, 20 May 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** ppImage);
Parameters
- nWidth
- [in] image width in pixels.
- nHeight
- [in] image height in pixels.
- ppImage
- [out, retval] return object of IUIX_ImageData interface.
Return Value
Returns S_OK if operation was successful or error code in other cases.