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)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_PagesView::SetZoom Method}}
 
{{#customTitle:IPXV_PagesView::SetZoom Method}}
{{#parentPage:PXV:IPXV_PagesView#Methods|SetZoom Method|method}}
+
{{#parentPage:PXV:IPXV_PagesView#Methods|SetZoom|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
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 04: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