void PrintProfileLong(Rectangle bounds, PrintPageEventArgs args) { SolidBrush solidBrush = new SolidBrush(Color.Black); int vPos = bounds.Top; StringFormat format = new StringFormat(StringFormatFlags.NoClip); format.Alignment = StringAlignment.Near; format.LineAlignment = StringAlignment.Near; RectangleF layoutRectangle; if (this._pageNumber == 1) { int num = Print.PpInfo(bounds, args) + 6; string s = "Extended " + MidsContext.Character.Alignment.ToString() + " Profile"; layoutRectangle = new RectangleF((float)(bounds.Left + 15), (float)num, (float)bounds.Width, 15f); Font font = new Font("Arial", 12f, FontStyle.Bold | FontStyle.Underline, GraphicsUnit.Pixel); args.Graphics.DrawString(s, font, (Brush)solidBrush, layoutRectangle, format); vPos = num + 15; } Font font1 = new Font("Arial", 12f, FontStyle.Bold, GraphicsUnit.Pixel); if (this._sectionCompleted == Print.PrintWhat.None) { this._endOfPage = false; int num = this.BuildPowerListLong(ref vPos, (RectangleF)bounds, 12, Print.PrintWhat.Powers, args); if (this._endOfPage) { return; } string s = "------------"; layoutRectangle = new RectangleF((float)(bounds.Left + 15), (float)num, (float)bounds.Width, 15f); args.Graphics.DrawString(s, font1, (Brush)solidBrush, layoutRectangle, format); vPos = num + 15; this._sectionCompleted = Print.PrintWhat.Powers; } if (this._sectionCompleted == Print.PrintWhat.Powers) { this._endOfPage = false; vPos = this.BuildPowerListLong(ref vPos, (RectangleF)bounds, 12, Print.PrintWhat.Inherent, args); if (this._endOfPage) { return; } this._sectionCompleted = Print.PrintWhat.Inherent; if (MidsContext.Character.Archetype.Epic) { string s = "------------"; layoutRectangle = new RectangleF((float)(bounds.Left + 15), (float)vPos, (float)bounds.Width, 15f); args.Graphics.DrawString(s, font1, (Brush)solidBrush, layoutRectangle, format); vPos += 15; } } if (this._sectionCompleted == Print.PrintWhat.Inherent && MidsContext.Character.Archetype.Epic) { this._endOfPage = false; this.BuildPowerListLong(ref vPos, (RectangleF)bounds, 12, Print.PrintWhat.EpicInherent, args); if (this._endOfPage) { return; } } this._printingProfile = false; }