コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: CoursePrinting.cs プロジェクト: osorensen/PurplePen
        // 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;
        }
コード例 #3
0
ファイル: PunchPrinting.cs プロジェクト: osorensen/PurplePen
 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;
 }
コード例 #4
0
 // Get the text of the firse (main) title line.
 private string GetTitleLine1()
 {
     return(QueryEvent.GetEventTitle(eventDB, "|"));
 }