IUIX_Inst::CreateImageFromFile Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateImageFromFile([in]          IAFS_File*        Source,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateImageFromFile([in]          IAFS_File*        pSource,
                             [out, retval]  IUIX_ImageData**  Image);</pre>
+
                             [out, retval]  IUIX_ImageData**  pImage);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Source
+
;pSource
 
:[in]  source file object of [[PXV:IAFS_File|IAFS_File]] interface.
 
:[in]  source file object of [[PXV:IAFS_File|IAFS_File]] interface.
;Image
+
;pImage
 
:[out, retval]  return object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface.
 
:[out, retval]  return object of [[PXV:IUIX_ImageData|IUIX_ImageData]] interface.
  

Revision as of 03:24, 15 June 2015


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 operation was successful or error code in other cases.

See Also

IUIX_Inst