// 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); }
// 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; }