IUIX_Inst::CreateNewImage Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_Inst::CreateNewImage Method}} | {{#customTitle:IUIX_Inst::CreateNewImage Method}} | ||
{{#parentPage:PXV:IUIX_Inst|CreateNewImage Method|method}} | {{#parentPage:PXV:IUIX_Inst|CreateNewImage Method|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates new ''image'' object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface of given size. | |
== Syntax == | == Syntax == | ||
Line 15: | Line 14: | ||
== Parameters == | == Parameters == | ||
;nWidth | ;nWidth | ||
− | :[in] | + | :[in] image width in pixels. |
;nHeight | ;nHeight | ||
− | :[in] | + | :[in] image height in pixels. |
;ppImage | ;ppImage | ||
− | :[out, retval] | + | :[out, retval] return object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface. |
== Return Value == | == Return Value == |
Revision as of 23:53, 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.