Spread Windows Forms 12.0 Product Documentation
LeftMargin Property


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.Printing Namespace > PageSetup Class : LeftMargin Property
Gets or sets the size of the left margin, in points.
Syntax
'Declaration
 
Public Property LeftMargin As Double
'Usage
 
Dim instance As PageSetup
Dim value As Double
 
instance.LeftMargin = value
 
value = instance.LeftMargin
public double LeftMargin {get; set;}

Property Value

A double value represents the left margin.
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