IPXV_Control::SetZoom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Control::SetZoom Method}}
 
{{#customTitle:IPXV_Control::SetZoom Method}}
{{#parentPage:PXV:IPXV_Control|SetZoom Method|method}}
+
{{#parentPage:PXV:IPXV_Control#Methods|SetZoom|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Changes the zoom of the pages view.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;nMode
 
;nMode
:[in]  Value of [[PXV:PXV_ZoomMode|PXV_ZoomMode]].
+
:[in]  The value of [[PXV:PXV_ZoomMode|PXV_ZoomMode]].
 
;nLevel
 
;nLevel
:[in]  Value of double.
+
:[in]  The new zoom level in percents.
 
;bAllowSmooth
 
;bAllowSmooth
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  The controls the smooth changing of zoom.
  
 
== Return Value ==
 
== Return Value ==
Line 24: Line 24:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_Control|IPXV_Control]].
+
[[PXV:IPXV_Control|IPXV_Control]]

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.

See Also

IPXV_Control