public DescriptionPrinting(EventDB eventDB, SymbolDB symbolDB, Controller controller, DescriptionPrintSettings descPrintSettings) : base(QueryEvent.GetEventTitle(eventDB, " "), controller, descPrintSettings.PageSettings, descPrintSettings.BoxSize, descPrintSettings.CountKind, descPrintSettings.Count) { this.eventDB = eventDB; this.symbolDB = symbolDB; this.descPrintSettings = descPrintSettings; }
// mapDisplay is a MapDisplay that contains the correct map. All other features of the map display need to be customized. public CoursePrinting(EventDB eventDB, SymbolDB symbolDB, Controller controller, MapDisplay mapDisplay, CoursePrintSettings coursePrintSettings, CourseAppearance appearance) : base(QueryEvent.GetEventTitle(eventDB, " "), controller, coursePrintSettings.PageSettings, coursePrintSettings.PrintingColorModel) { this.eventDB = eventDB; this.symbolDB = symbolDB; this.controller = controller; this.mapDisplay = mapDisplay; this.coursePrintSettings = coursePrintSettings; this.appearance = appearance; // Set default features for printing. mapDisplay.MapIntensity = 1.0F; mapDisplay.AntiAlias = false; mapDisplay.Printing = true; mapDisplay.ColorModel = base.colorModel; }
public PunchPrinting(EventDB eventDB, Controller controller, PunchPrintSettings punchPrintSettings) : base(QueryEvent.GetEventTitle(eventDB, " "), controller, punchPrintSettings.PageSettings, punchPrintSettings.BoxSize, PrintingCountKind.CopyCount, punchPrintSettings.Count) { this.eventDB = eventDB; this.punchPrintSettings = punchPrintSettings; }
// Get the text of the firse (main) title line. private string GetTitleLine1() { return(QueryEvent.GetEventTitle(eventDB, "|")); }