Spread 8.0 Documentation
AllowUserZoom Property
Support Options
ActiveX Reference > ActiveX Properties > AllowUserZoom Property

Glossary Item Box

AllowUserZoom Property


See Also    DLL

Applies To

fpSpreadPreview control

Description

Sets or returns whether users can use the mouse to zoom in or out while viewing pages.

Syntax

C++

BOOL CSpreadPreview::GetAllowUserZoom( );
void CSpreadPreview::SetAllowUserZoom(BOOL value);

Visual Basic

[form.]fpSpreadPreview.AllowUserZoom[ = boolean%]

Remarks

The default value for the AllowUserZoom property is True.

If you set the AllowUserZoom property to False, users cannot zoom in or out by clicking the mouse while the pointer is over a preview page. However, you can still provide other means in the interface to let users zoom, such as a button that changes the ZoomState property.

Data Type

Integer (Boolean)

See Also

Scaling the Preview Page

PageViewPercentage, ZoomState properties

DLL Correspondence

SpvGetAllowUserZoom, SpvSetAllowUserZoom functions

Copyright © GrapeCity, inc. All rights reserved.