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


GrapeCity.Xaml.SpreadSheet.Data Namespace > PrintInfo Class : ColumnEnd Property
Gets or sets the last column to print when printing a cell range.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property ColumnEnd As Integer
'Usage
 
Dim instance As PrintInfo
Dim value As Integer
 
instance.ColumnEnd = value
 
value = instance.ColumnEnd
[DefaultValue()]
public int ColumnEnd {get; set;}

Property Value

The column index of the last column to print in a cell range.
Example
This example sets the ColumnEnd 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

PrintInfo Class
PrintInfo Members