IPXV_PageSizeCtl::Init 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:IPXV_PageSizeCtl::Init Method}}
 
{{#customTitle:IPXV_PageSizeCtl::Init Method}}
 +
{{#parentPage:PXV:IPXV_PageSizeCtl#Methods|Init|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 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   nUnit,
 +
            [in, defaultvalue(0)]   ULONG         nFlags,
 +
            [in, defaultvalue(0.0)] double       nDocPageWidth,
 +
            [in, defaultvalue(0.0)] double       nDocPageHeight);</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]  Value of [[PXV:MeasureUnit|MeasureUnit]].
;''nFlags''
+
;nFlags
:[in, optional]  Value of ULONG.
+
:[in, defaultvalue(0)]  Value of ULONG.
;''pSizeByDocWidth''
+
;nDocPageWidth
:[in, optionalPointer to double.
+
:[in, defaultvalue(0.0)Value of double.
;''pSizeByDocHeight''
+
;nDocPageHeight
:[in, optionalPointer to double.
+
:[in, defaultvalue(0.0)Value of double.
  
 
== Return Value ==
 
== Return Value ==
Line 23: Line 31:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_PageSizeCtl|IPXV_PageSizeCtl]].
+
[[PXV:IPXV_PageSizeCtl|IPXV_PageSizeCtl]]

Latest revision as of 23:41, 19 May 2018


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        nDocPageWidth,
             [in, defaultvalue(0.0)]  double        nDocPageHeight);

Parameters

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

Return Value

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

See Also

IPXV_PageSizeCtl