Gets or sets the current page being printed.
Syntax
Visual Basic (Declaration) | |
---|
Public Property PageNumber As Integer |
C# | |
---|
public int PageNumber {get; set;} |
Example
This example gets the PageNumber property.
C# | Copy Code |
---|
protected void FpSpread1_PrintBackground(object sender, FarPoint.Web.Spread.PrintBackgroundEventArgs e)
{
ListBox1.Items.Add(e.PageNumber.ToString());
} |
VB.NET | Copy Code |
---|
Protected Sub FpSpread1_PrintBackground(sender As Object, e As FarPoint.Web.Spread.PrintBackgroundEventArgs) Handles FpSpread1.PrintBackground
ListBox1.Items.Add(e.PageNumber.ToString())
End Sub |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also