GrapeCity.Xaml.SpreadSheet.Data
ZoomFactor Property (PrintInfo)
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > PrintInfo Class : ZoomFactor Property
Gets or sets the zoom factor used for printing.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property ZoomFactor As Double
'Usage
 
Dim instance As PrintInfo
Dim value As Double
 
instance.ZoomFactor = value
 
value = instance.ZoomFactor
[DefaultValue()]
public double ZoomFactor {get; set;}

Property Value

A value that specifies the amount to enlarge or reduce the printed worksheet. The default value is 1.
Remarks
Specify the value as a number between 0.1 (10% zoom) and 4 (400% zoom).
Example
This example sets the ZoomFactor property.
GrapeCity.Xaml.SpreadSheet.Data.PrintInfo printset = new GrapeCity.Xaml.SpreadSheet.Data.PrintInfo();
printset.ZoomFactor = 2;
gcSpreadSheet1.Sheets[0].PrintInfo = printset;
Dim printset As New GrapeCity.Xaml.SpreadSheet.Data.PrintInfo()
printset.ZoomFactor = 2
GcSpreadSheet1.Sheets(0).PrintInfo = printset
See Also

Reference

PrintInfo Class
PrintInfo Members