IUIX_Inst::CreateNewImage Method

From PDF XChange PDF SDK
Revision as of 04:24, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


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.

See Also

IUIX_Inst