IAFS_File::SetSize Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IAFS_File::SetSize Method}}
 
{{#customTitle:IAFS_File::SetSize Method}}
 +
{{#parentPage:PXV:IAFS_File#Methods|SetSize|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 SetSize([in] LONGLONG nNewSize, [in, optional, defaultvalue(NULL)] IString* pErrDetails, [in, optional, defaultvalue(NULL)] IFlag* pCancelFlag);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetSize([in]                     LONGLONG nNewSize,
 +
                [in, defaultvalue(NULL)] IString* pErrDetails,
 +
                [in, defaultvalue(NULL)] IFlag*   pCancelFlag);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nNewSize''
+
;nNewSize
 
:[in]  Value of LONGLONG.
 
:[in]  Value of LONGLONG.
;''pErrDetails''
+
;pErrDetails
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
;''pCancelFlag''
+
;pCancelFlag
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IFlag|IFlag]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IFlag|IFlag]].
  
 
== Return Value ==
 
== Return Value ==
Line 19: Line 25:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IAFS_File|IAFS_File]].
+
[[PXV:IAFS_File|IAFS_File]]

Latest revision as of 03:08, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetSize([in]                      LONGLONG  nNewSize,
                [in, defaultvalue(NULL)]  IString*  pErrDetails,
                [in, defaultvalue(NULL)]  IFlag*    pCancelFlag);

Parameters

nNewSize
[in] Value of LONGLONG.
pErrDetails
[in, defaultvalue(NULL)] Pointer to IString.
pCancelFlag
[in, defaultvalue(NULL)] Pointer to IFlag.

Return Value

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

See Also

IAFS_File