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 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Inst::CreateNewImage Method}}
 
{{#customTitle:IUIX_Inst::CreateNewImage Method}}
{{#parentPage:PXV:IUIX_Inst#Methods|CreateNewImage Method|method}}
+
{{#parentPage:PXV:IUIX_Inst#Methods|CreateNewImage|method}}
 
{{ToReview}}
 
{{ToReview}}
  

Revision as of 10:00, 23 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.

See Also

IUIX_Inst