IUIX_Inst::CreateImageFromFile Method

From PDF XChange PDF SDK
Revision as of 09:54, 16 June 2015 by Johnv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Creates new image object of IUIX_ImageData data interface.

Syntax

HRESULT CreateImageFromFile([in]           IAFS_File*        pSource,
                            [out, retval]  IUIX_ImageData**  pImage);

Parameters

pSource
[in] source file object of IAFS_File interface.
pImage
[out, retval] return object of IUIX_ImageData interface.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Inst