/// <summary> /// Default constructor /// </summary> public PageSettings() { // Keep track of the base color for designer serialization. This is a workaround that should // last until the PageSettings can be redesigned. this._baseColor = base.Color; this._oHeader = new HeaderInformation(PageInformationBorder.Bottom, InformationType.DocumentName, InformationType.Nothing, InformationType.PageNumber); this._oFooter = new FooterInformation(PageInformationBorder.Top, InformationType.Nothing, InformationType.Nothing, InformationType.Nothing); this._sFontMagnification = 0; this._eColorMode = PrintColorMode.Normal; // Set default margins to 1/2 inch (50/100ths) base.Margins.Top = 50; base.Margins.Left = 50; base.Margins.Right = 50; base.Margins.Bottom = 50; }