Spread Windows Forms 10.0 Product Documentation
MinZoomFactor Property (SheetView)
Example 


Gets or sets a value that indicates the minimum zoom factor for this sheet.
Syntax
'Declaration
 
Public Property MinZoomFactor As Single
'Usage
 
Dim instance As SheetView
Dim value As Single
 
instance.MinZoomFactor = value
 
value = instance.MinZoomFactor
public float MinZoomFactor {get; set;}

Property Value

A System.Single value that represents the SheetView minimum zoom factor. The default is 0.1f.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException The assigned value is greater than 4 or less than 0.1.
Example
This example sets the MinZoomFactor property.
fpSpread1.AllowUserToTouchZoom = true;
fpSpread1.Sheets[0].MinZoomFactor = .1F;
FpSpread1.AllowUserToTouchZoom = True
FpSpread1.Sheets(0).MinZoomFactor = .1F
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.