IPXV_PageSizeCtl::Init 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 Init([in] IUIX_Dialog* pDlg, [in] MeasureUnit* pUnit, [in, optional] ULONG nFlags, [in, optional] double* pSizeByDocWidth, [in, optional] double* pSizeByDocHeight);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Init([in] IUIX_Dialog* pDlg, [in] MeasureUnit* pUnit, [in, defaultvalue(0)] ULONG nFlags, [in, defaultvalue(0.0)] double* pSizeByDocWidth, [in, defaultvalue(0.0)] double* pSizeByDocHeight);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 13: Line 13:
 
:[in]  Pointer to [[PXV:MeasureUnit|MeasureUnit]].
 
:[in]  Pointer to [[PXV:MeasureUnit|MeasureUnit]].
 
;''nFlags''
 
;''nFlags''
:[in, optional]  Value of ULONG.
+
:[in, defaultvalue(0)]  Value of ULONG.
 
;''pSizeByDocWidth''
 
;''pSizeByDocWidth''
:[in, optional]  Pointer to double.
+
:[in, defaultvalue(0.0)]  Pointer to double.
 
;''pSizeByDocHeight''
 
;''pSizeByDocHeight''
:[in, optional]  Pointer to double.
+
:[in, defaultvalue(0.0)]  Pointer to double.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 01:48, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Init([in] IUIX_Dialog* pDlg, [in] MeasureUnit* pUnit, [in, defaultvalue(0)] ULONG nFlags, [in, defaultvalue(0.0)] double* pSizeByDocWidth, [in, defaultvalue(0.0)] double* pSizeByDocHeight);

Parameters

pDlg
[in] Pointer to IUIX_Dialog.
pUnit
[in] Pointer to MeasureUnit.
nFlags
[in, defaultvalue(0)] Value of ULONG.
pSizeByDocWidth
[in, defaultvalue(0.0)] Pointer to double.
pSizeByDocHeight
[in, defaultvalue(0.0)] Pointer to double.

Return Value

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

See Also

See also IPXV_PageSizeCtl.