Inheritance: IPrintableRectangle
示例#1
0
        // Get a punch pattern renderer for rendering the description from a course view.
        private PunchesRenderer GetRenderer(CourseView courseView)
        {
            PunchcardFormat punchcardFormat = eventDB.GetEvent().punchcardFormat;

            PunchesRenderer renderer = new PunchesRenderer(eventDB);

            renderer.CellSize        = punchPrintSettings.BoxSize / 0.254F;
            renderer.CourseView      = courseView;
            renderer.PunchcardFormat = punchcardFormat;
            renderer.Margin          = 0;

            return(renderer);
        }
示例#2
0
        // Get a punch pattern renderer for rendering the description from a course view.
        private PunchesRenderer GetRenderer(CourseView courseView)
        {
            PunchcardFormat punchcardFormat = eventDB.GetEvent().punchcardFormat;

            PunchesRenderer renderer = new PunchesRenderer(eventDB);
            renderer.CellSize = punchPrintSettings.BoxSize / 0.254F;
            renderer.CourseView = courseView;
            renderer.PunchcardFormat = punchcardFormat;
            renderer.Margin = 0;

            return renderer;
        }