IPXC_Document::AddImageFromFile Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddImageFromFile([in] BSTR sFileName, [in, optional] ULONG nPage, [in, optional] ULONG nFlags, [out, retval] IPXC_Image** ppImage);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AddImageFromFile([in] LPWSTR sFileName, [in, optional] ULONG nPage, [in, optional] ULONG nFlags, [out, retval] IPXC_Image** ppImage);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;''sFileName''
 
;''sFileName''
:[in]  Value of BSTR.
+
:[in]  Value of LPWSTR.
 
;''nPage''
 
;''nPage''
 
:[in, optional]  Value of ULONG.
 
:[in, optional]  Value of ULONG.

Revision as of 13:11, 24 March 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddImageFromFile([in] LPWSTR sFileName, [in, optional] ULONG nPage, [in, optional] ULONG nFlags, [out, retval] IPXC_Image** ppImage);

Parameters

sFileName
[in] Value of LPWSTR.
nPage
[in, optional] Value of ULONG.
nFlags
[in, optional] Value of ULONG.
ppImage
[out, retval] Pointer to IPXC_Image.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IPXC_Document.