SchedulerPrintStyle
Represents a base class for different print styles of RadScheduler.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public abstract class SchedulerPrintStyle : ICloneable
Inheritance: objectSchedulerPrintStyle
Derived Classes:
Implements:
Constructors
Creates a new instance of the class.
public SchedulerPrintStyle()
Properties
Gets or sets the font of the appointments.
[Browsable(true)]
public Font AppointmentFont { get; set; }
Gets or sets the end date of the date range which describes which appointments should be printed.
[Browsable(true)]
public virtual DateTime DateEndRange { get; set; }
Gets or sets the font of the date headers.
[Browsable(true)]
public Font DateHeadingFont { get; set; }
Gets or sets the start date of the date range which describes which appointments should be printed.
[Browsable(true)]
public virtual DateTime DateStartRange { get; set; }
Gets or sets whether a page title should be printed.
[Browsable(true)]
public bool DrawPageTitle { get; set; }
Gets or sets whether a calendar should be printed inside the title area.
[Browsable(true)]
public bool DrawPageTitleCalendar { get; set; }
Gets or sets the groping mode of the printed document.
[Browsable(true)]
public SchedulerPrintGroupType GroupType { get; set; }
Gets or sets the height of the heading area.
[Browsable(false)]
public int HeadingAreaHeight { get; set; }
Gets or sets the width of the notes area.
[Browsable(true)]
public int NotesAreaWidth { get; set; }
Gets or sets the font of the page heading.
[Browsable(true)]
public Font PageHeadingFont { get; set; }
Gets the RadScheduler that is being printed.
[Browsable(false)]
public RadScheduler Scheduler { get; }
Gets or sets whether a lined area for handwritten notes should be printed.
[Browsable(true)]
public bool ShowLinedNotesArea { get; set; }
Gets or sets whether an area for handwritten notes should be printed.
[Browsable(true)]
public bool ShowNotesArea { get; set; }
Gets or sets a value indicating whether the current timezone should be printed inside page title area.
[Browsable(true)]
public bool ShowTimezone { get; set; }
Gets or sets the end time of the time interval which describes which appointments should be printer for every single date.
[Browsable(true)]
public virtual TimeSpan TimeEndRange { get; set; }
Gets or sets the start time of the time interval which describes which appointments should be printer for every single date.
[Browsable(true)]
public virtual TimeSpan TimeStartRange { get; set; }
Methods
public virtual void CopyProperties(SchedulerPrintStyle destination)
Draws a AppointmentPrintElement.
protected void DrawAppointment(AppointmentPrintElement element, Graphics graphics, Rectangle bounds)
The element.
graphicsGraphicsThe graphics used for drawing.
boundsRectangleThe bounds of the element.
Draws a AppointmentPrintElement.
protected void DrawAppointment(AppointmentPrintElement element, Graphics graphics, RectangleF bounds)
The element.
graphicsGraphicsThe graphics used for drawing.
boundsRectangleFThe bounds of the element.
Draws a SchedulerPrintCellElement.
protected void DrawCell(SchedulerPrintCellElement element, Graphics graphics, Rectangle bounds)
The element.
graphicsGraphicsThe graphics used for drawing.
boundsRectangleThe bounds of the element.
Draws a SchedulerPrintCellElement.
protected void DrawCell(SchedulerPrintCellElement element, Graphics graphics, RectangleF bounds)
The element.
graphicsGraphicsThe graphics used for drawing.
boundsRectangleFThe bounds of the element.
Draws a RadPrintElement.
protected void DrawElement(RadPrintElement element, Graphics graphics, Rectangle bounds)
The element.
graphicsGraphicsThe graphics used for drawing.
boundsRectangleThe bounds of the element.
Draws a RadPrintElement.
protected void DrawElement(RadPrintElement element, Graphics graphics, RectangleF bounds)
The element.
graphicsGraphicsThe graphics used for drawing.
boundsRectangleFThe bounds of the element.
Draws an area for handwritten notes.
protected virtual Rectangle DrawNotesArea(Graphics graphics, Rectangle drawingArea, int pageNumber)
The graphics used for drawing.
drawingAreaRectangleThe area in which the notes should be drawn.
pageNumberint1-based consecutive number of the page to be drawn in.
Returns:The bounds of the notes area.
Draws the page inside a given graphics area.
Draws the page heading.
public virtual void EndPrint()
Gets the appointments of the current source that are inside the time interval specified by the DateStartRange and DateEndRange properties.
Gets the appointments of the current source that a given date contains.
protected List<IEvent> GetAppointments(DateTime startDate, DateTime endDate, SchedulerPrintGroupType sortType)
List<IEvent>
Gets the appointments of the current source that are inside a specified time interval.
protected virtual void OnAppointmentElementFormatting(PrintAppointmentEventArgs args)
protected virtual void OnAppointmentElementPaint(PrintAppointmentPaintEventArgs args)
protected virtual void OnCellElementFormatting(PrintSchedulerCellEventArgs args)
protected virtual void OnCellElementPaint(PrintSchedulerCellPaintEventArgs args)
protected virtual void OnPrintElementFormatting(PrintElementEventArgs args)
protected virtual void OnPrintElementPaint(PrintElementPaintEventArgs args)
Events
Fires when an appointment element is being formatted before it is painted.
public event PrintAppointmentEventHandler AppointmentElementFormatting
Fires when an appointment element is painted.
public event PrintAppointmentPaintEventHandler AppointmentElementPaint
Fires when a cell element is being formatted before it is painted.
public event PrintSchedulerCellEventHandler CellElementFormatting
Fires when a cell element is painted.
public event PrintSchedulerCellPaintEventHandler CellElementPaint
Fires when a print element is being formatted before it is painted.
public event PrintElementEventHandler PrintElementFormatting
Fires when a print element is painted.
public event PrintElementPaintEventHandler PrintElementPaint