GrapeCity.Xaml.SpreadSheet.Data
PrintInfo Property
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : PrintInfo Property
Gets or sets the print information for printing to PDF.
Syntax
'Declaration
 
Public Property PrintInfo As PrintInfo
'Usage
 
Dim instance As Worksheet
Dim value As PrintInfo
 
instance.PrintInfo = value
 
value = instance.PrintInfo
public PrintInfo PrintInfo {get; set;}
Example
This example sets the PrintInfo property.
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

Worksheet Class
Worksheet Members