Spread Windows Forms 9.0 Product Documentation
FooterHeight Property
Example 


Gets or sets the height in pixels of the footer area.
Syntax
'Declaration
 
Public Property FooterHeight As Integer
'Usage
 
Dim instance As PrintInfo
Dim value As Integer
 
instance.FooterHeight = value
 
value = instance.FooterHeight
public int FooterHeight {get; set;}

Property Value

Integer number of pixels in the height of the footer
Example
This example sets the height in the footer area.
// Define the printer settings
FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo();
printset.Header = "Print Job For /nFPT Inc.";
printset.Footer = "This is Page /p/nof /pc Pages";
printset.FooterHeight = 10;
// Assign the printer settings to the sheet and print to PDF
printset.PrintToPdf = true;
printset.PdfFileName = "C:\\results.pdf";
fpSpread1.Sheets[0].PrintInfo = printset;
fpSpread1.PrintSheet(0);
Dim printset As New FarPoint.Win.Spread.PrintInfo
printset.Header = "Print Job For /nFPT Inc."
printset.Footer = "This is Page /p/nof /pc Pages"
printset.FooterHeight = 10
' Assign the printer settings to the sheet and print to PDF
printset.PrintToPdf = True
printset.PdfFileName = "C:\results.pdf"
FpSpread1.Sheets(0).PrintInfo = printset
FpSpread1.PrintSheet(0)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

PrintInfo Class
PrintInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.