Spread Windows Forms 12.0 Product Documentation
RightMargin Property


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

Property Value

A double value represents the right 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