IPXV_PageSizeCtl::Init Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 10: Line 10:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT Init([in]                    IUIX_Dialog*  pDlg,
 
<pre class="brush:cpp;gutter:false">HRESULT Init([in]                    IUIX_Dialog*  pDlg,
             [in]                    MeasureUnit*  pUnit,
+
             [in]                    MeasureUnit*  nUnit,
 
             [in, defaultvalue(0)]    ULONG        nFlags,
 
             [in, defaultvalue(0)]    ULONG        nFlags,
             [in, defaultvalue(0.0)]  double*      pSizeByDocWidth,
+
             [in, defaultvalue(0.0)]  double*      nSizeByDocWidth,
             [in, defaultvalue(0.0)]  double*      pSizeByDocHeight);</pre>
+
             [in, defaultvalue(0.0)]  double*      nSizeByDocHeight);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;pDlg
 
;pDlg
 
:[in]  Pointer to [[PXV:IUIX_Dialog|IUIX_Dialog]].
 
:[in]  Pointer to [[PXV:IUIX_Dialog|IUIX_Dialog]].
;pUnit
+
;nUnit
 
:[in]  Pointer to [[PXV:MeasureUnit|MeasureUnit]].
 
:[in]  Pointer to [[PXV:MeasureUnit|MeasureUnit]].
 
;nFlags
 
;nFlags
 
:[in, defaultvalue(0)]  Value of ULONG.
 
:[in, defaultvalue(0)]  Value of ULONG.
;pSizeByDocWidth
+
;nSizeByDocWidth
 
:[in, defaultvalue(0.0)]  Pointer to double.
 
:[in, defaultvalue(0.0)]  Pointer to double.
;pSizeByDocHeight
+
;nSizeByDocHeight
 
:[in, defaultvalue(0.0)]  Pointer to double.
 
:[in, defaultvalue(0.0)]  Pointer to double.
  

Revision as of 02:45, 4 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Init([in]                     IUIX_Dialog*  pDlg,
             [in]                     MeasureUnit*  nUnit,
             [in, defaultvalue(0)]    ULONG         nFlags,
             [in, defaultvalue(0.0)]  double*       nSizeByDocWidth,
             [in, defaultvalue(0.0)]  double*       nSizeByDocHeight);

Parameters

pDlg
[in] Pointer to IUIX_Dialog.
nUnit
[in] Pointer to MeasureUnit.
nFlags
[in, defaultvalue(0)] Value of ULONG.
nSizeByDocWidth
[in, defaultvalue(0.0)] Pointer to double.
nSizeByDocHeight
[in, defaultvalue(0.0)] Pointer to double.

Return Value

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

See Also

IPXV_PageSizeCtl