IPXV_Control::SetZoom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetZoom([in]                  PXV_ZoomMode  nMode,
+
<pre class="brush:cpp;gutter:false">HRESULT SetZoom([in]                  PXV_ZoomMode  Mode,
                 [in]                  double        nLevel,
+
                 [in]                  double        Level,
                 [in, defaultvalue(0)]  VARIANT_BOOL  bAllowSmooth);</pre>
+
                 [in, defaultvalue(0)]  VARIANT_BOOL  AllowSmooth);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nMode
+
;Mode
 
:[in]  The value of [[PXV:PXV_ZoomMode|PXV_ZoomMode]].
 
:[in]  The value of [[PXV:PXV_ZoomMode|PXV_ZoomMode]].
;nLevel
+
;Level
 
:[in]  The new zoom level in percents.
 
:[in]  The new zoom level in percents.
;bAllowSmooth
+
;AllowSmooth
 
:[in, defaultvalue(0)]  The controls the smooth changing of zoom.
 
:[in, defaultvalue(0)]  The controls the smooth changing of zoom.
  

Revision as of 07:26, 12 June 2015


Changes the zoom of the pages view.

Syntax

HRESULT SetZoom([in]                   PXV_ZoomMode  Mode,
                [in]                   double        Level,
                [in, defaultvalue(0)]  VARIANT_BOOL  AllowSmooth);

Parameters

Mode
[in] The value of PXV_ZoomMode.
Level
[in] The new zoom level in percents.
AllowSmooth
[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.

See Also

IPXV_Control