IPXV_Control::SetZoom Method

From Tracker Software PDF SDK
Revision as of 03:50, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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