IUIX_Inst::CreateImageFromFile2 Method
From PDF XChange PDF SDK
Creates new image object of IUIX_ImageData data interface from image file.
Syntax
HRESULT CreateImageFromFile2([in] BSTR sSourceFileName, [out, retval] IUIX_ImageData** pImage);
Parameters
- sSourceFileName
- [in] path to image file.
- pImage
- [out, retval] return object of IUIX_ImageData interface.
Return Value
Returns S_OK if operation was successful or error code in other cases.