IUIX_Inst::CreateImageFromFile2 Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 2: Line 2:
 
{{#customTitle:IUIX_Inst::CreateImageFromFile2 Method}}
 
{{#customTitle:IUIX_Inst::CreateImageFromFile2 Method}}
 
{{#parentPage:PXV:IUIX_Inst|CreateImageFromFile2 Method|method}}
 
{{#parentPage:PXV:IUIX_Inst|CreateImageFromFile2 Method|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates new ''image'' object of [[PXV:IUIX_ImageData|IUIX_ImageData]] data interface from image file.
  
 
== Syntax ==
 
== Syntax ==
Line 13: Line 12:
 
== Parameters ==
 
== Parameters ==
 
;pSourceFileName
 
;pSourceFileName
:[in]  Value of BSTR.
+
:[in]  path to image file.
 
;ppImage
 
;ppImage
:[out, retval]  Pointer to [[PXV:IUIX_ImageData|IUIX_ImageData]].
+
:[out, retval]  return object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 06:15, 20 May 2015


Creates new image object of IUIX_ImageData data interface from image file.

Syntax

HRESULT CreateImageFromFile2([in]           BSTR              pSourceFileName,
                             [out, retval]  IUIX_ImageData**  ppImage);

Parameters

pSourceFileName
[in] path to image file.
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

See also IUIX_Inst.