IPXV_Control::SetZoom Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT SetZoom([in] PXV_ZoomMode | + | <pre class="brush:cpp;gutter:false">HRESULT SetZoom([in] PXV_ZoomMode nMode, |
− | [in] double | + | [in] double nLevel, |
− | [in, defaultvalue(0)] VARIANT_BOOL | + | [in, defaultvalue(0)] VARIANT_BOOL bAllowSmooth);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;nMode |
:[in] The value of [[PXV:PXV_ZoomMode|PXV_ZoomMode]]. | :[in] The value of [[PXV:PXV_ZoomMode|PXV_ZoomMode]]. | ||
− | ; | + | ;nLevel |
:[in] The new zoom level in percents. | :[in] The new zoom level in percents. | ||
− | ; | + | ;bAllowSmooth |
:[in, defaultvalue(0)] The controls the smooth changing of zoom. | :[in, defaultvalue(0)] The controls the smooth changing of zoom. | ||
Latest revision as of 03:50, 15 June 2015
Changes the zoom of the pages view.
Syntax
HRESULT SetZoom([in] PXV_ZoomMode nMode, [in] double nLevel, [in, defaultvalue(0)] VARIANT_BOOL bAllowSmooth);
Parameters
- nMode
- [in] The value of PXV_ZoomMode.
- nLevel
- [in] The new zoom level in percents.
- bAllowSmooth
- [in, defaultvalue(0)] The controls the smooth changing of zoom.
Return Value
Returns S_OK if operation was successful or error code in other cases.