public PageInformation(int margin, Font font, PageInformationBorder border, InformationType left, InformationType center, InformationType right) { _margin = margin; _font = font; _border = border; _left = left; _center = center; _right = right; }
/// <summary> /// Full Constructor /// </summary> /// <param name="iMargin">Margin to use</param> /// <param name="oFont">Font to use </param> /// <param name="eBorder">Border style</param> /// <param name="eLeft">What to print on the left side of the page</param> /// <param name="eCenter">What to print in the center of the page</param> /// <param name="eRight">What to print on the right side of the page</param> public PageInformation(int iMargin, Font oFont, PageInformationBorder eBorder, InformationType eLeft, InformationType eCenter, InformationType eRight) { this._iMargin = iMargin; this._oFont = oFont; this._eBorder = eBorder; this._eLeft = eLeft; this._eCenter = eCenter; this._eRight = eRight; }
/// <summary> /// Full Constructor /// </summary> /// <param name="iMargin">Margin to use</param> /// <param name="oFont">Font to use </param> /// <param name="eBorder">Border style</param> /// <param name="eLeft">What to print on the left side of the page</param> /// <param name="eCenter">What to print in the center of the page</param> /// <param name="eRight">What to print on the right side of the page</param> public PageInformation(int iMargin, Font oFont, PageInformationBorder eBorder, InformationType eLeft, InformationType eCenter, InformationType eRight) { _iMargin = iMargin; _oFont = oFont; _eBorder = eBorder; _eLeft = eLeft; _eCenter = eCenter; _eRight = eRight; }
public PageInformation(PageInformationBorder border, InformationType left, InformationType center, InformationType right) : this(3, DefaultFont, border, left, center, right) { }
public HeaderInformation(PageInformationBorder eBorder, InformationType eLeft, InformationType eCenter, InformationType eRight) : base(3, DefaultFont, eBorder, eLeft, eCenter, eRight) { }
public HeaderInformation(int iMargin, Font oFont, PageInformationBorder eBorder, InformationType eLeft, InformationType eCenter, InformationType eRight) : base(iMargin, oFont, eBorder, eLeft, eCenter, eRight) { }
/// <summary> /// Normal Use Constructor /// </summary> /// <param name="eBorder">Border style</param> /// <param name="eLeft">What to print on the left side of the page</param> /// <param name="eCenter">What to print in the center of the page</param> /// <param name="eRight">What to print on the right side of the page</param> public PageInformation(PageInformationBorder eBorder, InformationType eLeft, InformationType eCenter, InformationType eRight) : this(3, DefaultFont, eBorder, eLeft, eCenter, eRight) { }
/// <summary> /// Normal Use Constructor /// </summary> /// <param name="eBorder">Border style</param> /// <param name="eLeft">What to print on the left side of the page</param> /// <param name="eCenter">What to print in the center of the page</param> /// <param name="eRight">What to print on the right side of the page</param> public FooterInformation(PageInformationBorder eBorder, InformationType eLeft, InformationType eCenter, InformationType eRight) : base(3, DefaultFont, eBorder, eLeft, eCenter, eRight) { }
/// <summary> /// Full Constructor /// </summary> /// <param name="iMargin">Margin to use</param> /// <param name="oFont">Font to use </param> /// <param name="eBorder">Border style</param> /// <param name="eLeft">What to print on the left side of the page</param> /// <param name="eCenter">What to print in the center of the page</param> /// <param name="eRight">What to print on the right side of the page</param> public FooterInformation(int iMargin, Font oFont, PageInformationBorder eBorder, InformationType eLeft, InformationType eCenter, InformationType eRight) : base(iMargin, oFont, eBorder, eLeft, eCenter, eRight) { }
private void ResetBorder() { Border = PageInformationBorder.Top; }
private void ResetBorder() { Border = PageInformationBorder.Bottom; }