Prints appointments in a month grid, optionally splitting months across pages or printing a configured number of weeks per page.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerMonthlyPrintStyle : SchedulerPrintStyle, ICloneable
Inheritance: objectSchedulerPrintStyleSchedulerMonthlyPrintStyle
Implements:
Inherited Members
Constructors
Creates a new instance of the class.
public SchedulerMonthlyPrintStyle()
Properties
Gets or sets the height of the appointments.
[Browsable(false)]
public int AppointmentHeight { get; set; }
Gets or sets the height of the header of each cell.
[Browsable(false)]
public int CellHeaderHeight { get; set; }
Gets the last date printed, normalized to the end of its month or to a week range of at least WeeksPerPage.
public override DateTime DateEndRange { get; set; }
Overrides:
Gets the first date printed, normalized to the start of its month or week according to PrintExactlyOneMonth.
public override DateTime DateStartRange { get; set; }
Overrides:
Gets or sets a value indicating whether the nonworking days should be printed.
[Browsable(true)]
public bool ExcludeNonWorkingDays { get; set; }
Gets or sets the image that is printed at the bottom of a cell when there are more appointments than can be shown.
public Image OverflowImage { get; set; }
Gets or sets whether each month should be printed on a single separate page.
[Browsable(true)]
public bool PrintExactlyOneMonth { get; set; }
Gets or sets whether a single month should be printed on two pages.
[Browsable(true)]
public bool TwoPagesPerMonth { get; set; }
Gets or sets the width of the vertical header which displays the week ranges.
[Browsable(false)]
public int VerticalHeaderWidth { get; set; }
Gets or sets the number of weeks that should be printed on each page when PrintExactlyOneMonth is false.
[Browsable(true)]
public int WeeksPerPage { get; set; }
Methods
Copies the base print settings and this style's month layout, week-count, and appointment sizing options.
public override void CopyProperties(SchedulerPrintStyle destination)
The style that receives the settings.
Overrides:
Draws the month grid, day headings, and appointment entries, showing the overflow image when a day has more entries than fit.
Draws the configured notes area, placing unlined notes on odd pages and lined notes on even pages when a month is split.
protected override Rectangle DrawNotesArea(Graphics graphics, Rectangle drawingArea, int pageNumber)
The graphics context used to draw the notes.
drawingAreaRectangleThe area available for page content.
pageNumberintThe one-based page number.
Returns:The notes bounds, or an empty rectangle when this page has no notes area.
Overrides:
Calculates pages from the selected month or week range, then applies two-page and resource-grouping multipliers.