[]
Gets or sets the size of the right margin, in points.
This value is used for page layout when the worksheet is printed.
public double RightMargin { get; set; }
Public Property RightMargin As Double
PageSettings pageSettings = new PageSettings();
pageSettings.RightMargin = 72;
double rightMargin = pageSettings.RightMargin;