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


GrapeCity.Xaml.SpreadSheet.Data Namespace > PrintInfo Class : FirstPageNumber Property
Gets or sets the page number to print on the first page.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property FirstPageNumber As Integer
'Usage
 
Dim instance As PrintInfo
Dim value As Integer
 
instance.FirstPageNumber = value
 
value = instance.FirstPageNumber
[DefaultValue()]
public int FirstPageNumber {get; set;}

Property Value

The page number to print on the first page. The default value is 1.
Example
This example sets the FirstPageNumber property.
GrapeCity.Xaml.SpreadSheet.Data.PrintInfo printset = new GrapeCity.Xaml.SpreadSheet.Data.PrintInfo();
printset.FirstPageNumber = 5;
printset.HeaderLeft = "This is Page &P";
printset.HeaderRight = "right";
printset.FooterCenter = "Footer Center";
printset.FooterLeft = "Footer Left";
printset.FooterRight = "Footer Right";
gcSpreadSheet1.Sheets[0].PrintInfo = printset;
Dim printset As New GrapeCity.Xaml.SpreadSheet.Data.PrintInfo()
printset.FirstPageNumber = 5
printset.HeaderLeft = "This is Page &P"
printset.HeaderRight = "right"
printset.FooterCenter = "Footer Center"
printset.FooterLeft = "Footer Left"
printset.FooterRight = "Footer Right"
GcSpreadSheet1.Sheets(0).PrintInfo = printset
See Also

Reference

PrintInfo Class
PrintInfo Members