IPXV_PageSizeCtl::Init Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
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* Dlg, |
− | [in] MeasureUnit* | + | [in] MeasureUnit* Unit, |
− | [in, defaultvalue(0)] ULONG | + | [in, defaultvalue(0)] ULONG Flags, |
− | [in, defaultvalue(0.0)] double* | + | [in, defaultvalue(0.0)] double* SizeByDocWidth, |
− | [in, defaultvalue(0.0)] double* | + | [in, defaultvalue(0.0)] double* SizeByDocHeight);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;Dlg |
:[in] Pointer to [[PXV:IUIX_Dialog|IUIX_Dialog]]. | :[in] Pointer to [[PXV:IUIX_Dialog|IUIX_Dialog]]. | ||
− | ; | + | ;Unit |
:[in] Pointer to [[PXV:MeasureUnit|MeasureUnit]]. | :[in] Pointer to [[PXV:MeasureUnit|MeasureUnit]]. | ||
− | ; | + | ;Flags |
:[in, defaultvalue(0)] Value of ULONG. | :[in, defaultvalue(0)] Value of ULONG. | ||
− | ; | + | ;SizeByDocWidth |
:[in, defaultvalue(0.0)] Pointer to double. | :[in, defaultvalue(0.0)] Pointer to double. | ||
− | ; | + | ;SizeByDocHeight |
:[in, defaultvalue(0.0)] Pointer to double. | :[in, defaultvalue(0.0)] Pointer to double. | ||
Revision as of 06:38, 12 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT Init([in] IUIX_Dialog* Dlg, [in] MeasureUnit* Unit, [in, defaultvalue(0)] ULONG Flags, [in, defaultvalue(0.0)] double* SizeByDocWidth, [in, defaultvalue(0.0)] double* SizeByDocHeight);
Parameters
- Dlg
- [in] Pointer to IUIX_Dialog.
- Unit
- [in] Pointer to MeasureUnit.
- Flags
- [in, defaultvalue(0)] Value of ULONG.
- SizeByDocWidth
- [in, defaultvalue(0.0)] Pointer to double.
- SizeByDocHeight
- [in, defaultvalue(0.0)] Pointer to double.
Return Value
Returns S_OK if operation was successful or error code in other cases.