GrapeCity.Xaml.SpreadSheet.Data
FitPagesWide Property
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > PrintInfo Class : FitPagesWide Property
Gets or sets the number of horizontal pages to check when optimizing the printing.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property FitPagesWide As Integer
'Usage
 
Dim instance As PrintInfo
Dim value As Integer
 
instance.FitPagesWide = value
 
value = instance.FitPagesWide
[DefaultValue()]
public int FitPagesWide {get; set;}

Property Value

The number of horizontal pages to check.
Example
This example sets the FitPagesWide property.
GrapeCity.Xaml.SpreadSheet.Data.PrintInfo printset = new GrapeCity.Xaml.SpreadSheet.Data.PrintInfo();
printset.FitPagesTall = 1;
printset.FitPagesWide = 1;
printset.ShowBorder = true;
printset.ShowColumnHeader = GrapeCity.Xaml.SpreadSheet.Data.VisibilityType.Show;
printset.ShowRowHeader = GrapeCity.Xaml.SpreadSheet.Data.VisibilityType.Show;
printset.ShowGridLine = true;
gcSpreadSheet1.Sheets[0].PrintInfo = printset;
Dim printset As New GrapeCity.Xaml.SpreadSheet.Data.PrintInfo()
printset.FitPagesTall = 1
printset.FitPagesWide = 1
printset.ShowBorder = True
printset.ShowColumnHeader = GrapeCity.Xaml.SpreadSheet.Data.VisibilityType.Show
printset.ShowRowHeader = GrapeCity.Xaml.SpreadSheet.Data.VisibilityType.Show
printset.ShowGridLine = True
GcSpreadSheet1.Sheets(0).PrintInfo = printset
See Also

Reference

PrintInfo Class
PrintInfo Members