IPXV_PagesView::SetZoom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetZoom([in]                  PXV_ZoomMode  ZoomMode,
+
<pre class="brush:cpp;gutter:false">HRESULT SetZoom([in]                  PXV_ZoomMode  nZoomMode,
                 [in]                  double        ZoomLevel,
+
                 [in]                  double        nZoomLevel,
 
                 [in, defaultvalue(0)]  VARIANT_BOOL  bAllowSmooth);</pre>
 
                 [in, defaultvalue(0)]  VARIANT_BOOL  bAllowSmooth);</pre>
  
 
== Parameters ==
 
== Parameters ==
;ZoomMode
+
;nZoomMode
 
:[in]  Value of [[PXV:PXV_ZoomMode|PXV_ZoomMode]].
 
:[in]  Value of [[PXV:PXV_ZoomMode|PXV_ZoomMode]].
;ZoomLevel
+
;nZoomLevel
 
:[in]  Value of double.
 
:[in]  Value of double.
 
;bAllowSmooth
 
;bAllowSmooth

Latest revision as of 03:05, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetZoom([in]                   PXV_ZoomMode  nZoomMode,
                [in]                   double        nZoomLevel,
                [in, defaultvalue(0)]  VARIANT_BOOL  bAllowSmooth);

Parameters

nZoomMode
[in] Value of PXV_ZoomMode.
nZoomLevel
[in] Value of double.
bAllowSmooth
[in, defaultvalue(0)] Value of VARIANT_BOOL.

Return Value

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

See Also

IPXV_PagesView