AllowUserZoom Property
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
PageViewPercentage, ZoomState properties
DLL Correspondence
SpvGetAllowUserZoom, SpvSetAllowUserZoom functions