IPXC_Document::WriteToFile Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Document::WriteToFile Method}}
 
{{#customTitle:IPXC_Document::WriteToFile Method}}
 +
{{#parentPage:PXV:IPXC_Document#Methods|WriteToFile|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT WriteToFile([in] BSTR pDestFileName, [in, optional] IProgressMon* pProgress, [in, optional] ULONG nFlags);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT WriteToFile([in]                     LPWSTR        sDestFileName,
 +
                    [in, defaultvalue(NULL)] IProgressMon* pProgress,
 +
                    [in, defaultvalue(0)]     ULONG         nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pDestFileName''
+
;sDestFileName
:[in]  Value of BSTR.
+
:[in]  Value of LPWSTR.
;''pProgress''
+
;pProgress
:[in, optional]  Pointer to [[PXV:IProgressMon|IProgressMon]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IProgressMon|IProgressMon]].
;''nFlags''
+
;nFlags
:[in, optional]  Value of ULONG.
+
:[in, defaultvalue(0)]  Value of ULONG.
  
 
== Return Value ==
 
== Return Value ==
Line 19: Line 25:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Document|IPXC_Document]].
+
[[PXV:IPXC_Document|IPXC_Document]]

Latest revision as of 03:26, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT WriteToFile([in]                      LPWSTR         sDestFileName,
                    [in, defaultvalue(NULL)]  IProgressMon*  pProgress,
                    [in, defaultvalue(0)]     ULONG          nFlags);

Parameters

sDestFileName
[in] Value of LPWSTR.
pProgress
[in, defaultvalue(NULL)] Pointer to IProgressMon.
nFlags
[in, defaultvalue(0)] Value of ULONG.

Return Value

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

See Also

IPXC_Document