Spread Silverlight Documentation
ZoomFactor Property (SheetView)
Example 


Gets or sets the scaling factor for displaying this sheet.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property ZoomFactor As System.Single
'Usage
 
Dim instance As SheetView
Dim value As System.Single
 
instance.ZoomFactor = value
 
value = instance.ZoomFactor
[System.ComponentModel.DefaultValue()]
public System.float ZoomFactor {get; set;}

Property Value

The scaling factor for displaying this sheet.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Specified scaling amount is out of range; must be between 0.5 (50%) and 4.0 (400%).
Example
This example uses the ZoomFactor property.
GcSpreadSheet1.View.ZoomFactor = 2;
GcSpreadSheet1.View.ZoomFactor = 2
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.