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


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
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

PrintInfo Class
PrintInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options