Spread WPF Documentation
RowEnd Property (PrintInfo)
Example 


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

Property Value

The row index of the last row to print in a cell range.
Example
This example uses the RowEnd property.
GrapeCity.Windows.SpreadSheet.Data.PrintInfo printset = new GrapeCity.Windows.SpreadSheet.Data.PrintInfo();
printset.RowStart = 0;
printset.RowEnd = 45;
gcSpreadSheet1.Sheets[0].PrintInfo = printset;
gcSpreadSheet1.SavePDF("c:\\zipfile\\test.pdf", 0);
Dim printset As New GrapeCity.Windows.SpreadSheet.Data.PrintInfo()
printset.RowStart = 0
printset.RowEnd = 45
GcSpreadSheet1.Sheets(0).PrintInfo = printset
GcSpreadSheet1.SavePDF("c:\zipfile\test.pdf", 0)
See Also

Reference

PrintInfo Class
PrintInfo Members