IPXV_PageSizeCtl::Init Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Init([in] IUIX_Dialog* | + | <pre class="brush:cpp;gutter:false">HRESULT Init([in] IUIX_Dialog* pDlg, |
− | [in] MeasureUnit | + | [in] MeasureUnit nUnit, |
− | [in, defaultvalue(0)] ULONG | + | [in, defaultvalue(0)] ULONG nFlags, |
− | [in, defaultvalue(0.0)] double | + | [in, defaultvalue(0.0)] double nDocPageWidth, |
− | [in, defaultvalue(0.0)] double | + | [in, defaultvalue(0.0)] double nDocPageHeight);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;pDlg |
:[in] Pointer to [[PXV:IUIX_Dialog|IUIX_Dialog]]. | :[in] Pointer to [[PXV:IUIX_Dialog|IUIX_Dialog]]. | ||
− | ; | + | ;nUnit |
− | :[in] | + | :[in] Value of [[PXV:MeasureUnit|MeasureUnit]]. |
− | ; | + | ;nFlags |
:[in, defaultvalue(0)] Value of ULONG. | :[in, defaultvalue(0)] Value of ULONG. | ||
− | ; | + | ;nDocPageWidth |
− | :[in, defaultvalue(0.0)] | + | :[in, defaultvalue(0.0)] Value of double. |
− | ; | + | ;nDocPageHeight |
− | :[in, defaultvalue(0.0)] | + | :[in, defaultvalue(0.0)] Value of double. |
== Return Value == | == Return Value == |
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.