GrapeCity.Xaml.SpreadSheet.UI
ZoomFactor Property (SheetView)
Example 


Gets or sets the scaling factor for displaying this sheet.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property ZoomFactor As Single
'Usage
 
Dim instance As SheetView
Dim value As Single
 
instance.ZoomFactor = value
 
value = instance.ZoomFactor
[DefaultValue()]
public 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 Server 2012, Windows RT

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options