Spread Windows Forms 12.0 Product Documentation
HeaderMargin Property


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.Printing Namespace > PageSetup Class : HeaderMargin Property
Gets or sets the distance from the top of the page to the header, in points.
Syntax
'Declaration
 
Public Property HeaderMargin As Double
'Usage
 
Dim instance As PageSetup
Dim value As Double
 
instance.HeaderMargin = value
 
value = instance.HeaderMargin
public double HeaderMargin {get; set;}

Property Value

A double value represents the top of the page to the header.
Remarks
Margins are set or returned in points. Use the GrapeCity.Spreadsheet.IO.OpenXml.UnitConverter.InchesToPoints method or the GrapeCity.Spreadsheet.IO.OpenXml.UnitConverter.CentimetersToPoints method to convert measurements from inches or centimeters.
See Also

Reference

PageSetup Class
PageSetup Members