GrapeCity.Xaml.SpreadSheet.Data
PrintInfo Property
Example 


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
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options