GrapeCity.Xaml.SpreadSheet.Data
PrintInfo Constructor
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > PrintInfo Class : PrintInfo Constructor
Creates a new set of print settings.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New PrintInfo()
public PrintInfo()
Example
This example prints the control.
GrapeCity.Xaml.SpreadSheet.Data.PrintInfo printset = new GrapeCity.Xaml.SpreadSheet.Data.PrintInfo();
printset.BestFitRows = true;
printset.Centering = GrapeCity.Xaml.SpreadSheet.Data.Centering.Both;
printset.ColumnEnd = 10;
printset.ColumnStart = 0;
gcSpreadSheet1.Sheets[0].PrintInfo = printset;
Dim printset As New GrapeCity.Xaml.SpreadSheet.Data.PrintInfo()
printset.BestFitRows = True
printset.Centering = GrapeCity.Xaml.SpreadSheet.Data.Centering.Both
printset.ColumnEnd = 10
printset.ColumnStart = 0
GcSpreadSheet1.Sheets(0).PrintInfo = printset
See Also

Reference

PrintInfo Class
PrintInfo Members