Class
SchedulerDailyPrintStyle

Represents a print style which prints on each page appointments in a single day.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class SchedulerDailyPrintStyle : SchedulerPrintStyle, ICloneable

Inheritance: objectSchedulerPrintStyleSchedulerDailyPrintStyle

Derived Classes: SchedulerAgendaPrintStyle

Implements: ICloneable

Inherited Members SchedulerPrintStyle.OnPrintElementFormatting(PrintElementEventArgs)SchedulerPrintStyle.OnCellElementFormatting(PrintSchedulerCellEventArgs)SchedulerPrintStyle.OnAppointmentElementFormatting(PrintAppointmentEventArgs)SchedulerPrintStyle.OnPrintElementPaint(PrintElementPaintEventArgs)SchedulerPrintStyle.OnCellElementPaint(PrintSchedulerCellPaintEventArgs)SchedulerPrintStyle.OnAppointmentElementPaint(PrintAppointmentPaintEventArgs)SchedulerPrintStyle.DrawPage(Graphics, Rectangle, int)SchedulerPrintStyle.DrawTopArea(Rectangle, Graphics, int)SchedulerPrintStyle.DrawElement(RadPrintElement, Graphics, Rectangle)SchedulerPrintStyle.DrawElement(RadPrintElement, Graphics, RectangleF)SchedulerPrintStyle.DrawAppointment(AppointmentPrintElement, Graphics, Rectangle)SchedulerPrintStyle.DrawAppointment(AppointmentPrintElement, Graphics, RectangleF)SchedulerPrintStyle.DrawCell(SchedulerPrintCellElement, Graphics, Rectangle)SchedulerPrintStyle.DrawCell(SchedulerPrintCellElement, Graphics, RectangleF)SchedulerPrintStyle.GetAppointments()SchedulerPrintStyle.GetAppointments(DateTime)SchedulerPrintStyle.GetAppointments(DateTime, bool)SchedulerPrintStyle.GetAppointments(DateTime, bool, IResource)SchedulerPrintStyle.GetAppointments(DateTime, DateTime)SchedulerPrintStyle.GetAppointments(DateTime, DateTime, IResource)SchedulerPrintStyle.GetAppointments(DateTime, DateTime, SchedulerPrintGroupType)SchedulerPrintStyle.CompareAppointments(IEvent, IEvent)SchedulerPrintStyle.CompareAppointmentsByResource(IEvent, IEvent)SchedulerPrintStyle.LoadImage(string)SchedulerPrintStyle.DateCeiling(DateTime)SchedulerPrintStyle.DateFloor(DateTime)SchedulerPrintStyle.GetRoundedDateTime(DateTime, bool)SchedulerPrintStyle.Clone()SchedulerPrintStyle.EndPrint()SchedulerPrintStyle.GroupTypeSchedulerPrintStyle.ShowTimezoneSchedulerPrintStyle.HeadingAreaHeightSchedulerPrintStyle.NotesAreaWidthSchedulerPrintStyle.DrawPageTitleSchedulerPrintStyle.DrawPageTitleCalendarSchedulerPrintStyle.ShowNotesAreaSchedulerPrintStyle.ShowLinedNotesAreaSchedulerPrintStyle.DateHeadingFontSchedulerPrintStyle.AppointmentFontSchedulerPrintStyle.PageHeadingFontSchedulerPrintStyle.DateStartRangeSchedulerPrintStyle.DateEndRangeSchedulerPrintStyle.TotalDaysSchedulerPrintStyle.TimeStartRangeSchedulerPrintStyle.TimeEndRangeSchedulerPrintStyle.SchedulerSchedulerPrintStyle.IsGroupedSchedulerPrintStyle.PrintElementFormattingSchedulerPrintStyle.CellElementFormattingSchedulerPrintStyle.AppointmentElementFormattingSchedulerPrintStyle.PrintElementPaintSchedulerPrintStyle.CellElementPaintSchedulerPrintStyle.AppointmentElementPaint

Constructors

SchedulerDailyPrintStyle()

Creates a new instance of the class.

Declaration

cs-api-definition
public SchedulerDailyPrintStyle()

SchedulerDailyPrintStyle(DateTime, DateTime)

Creates a new instance of the class.

Declaration

cs-api-definition
public SchedulerDailyPrintStyle(DateTime startRange, DateTime endRange)

Parameters

startRange

DateTime

The start date of the printing range.

endRange

DateTime

The end date of the printing range.

Properties

AllDayAppointmentHeight

Gets or sets the height of the appointments in the AllDay area.

Declaration

cs-api-definition
[Browsable(false)]
public int AllDayAppointmentHeight { get; set; }

Property Value

int

HoursColumnWidth

Gets or sets the width of the hours column.

Declaration

cs-api-definition
[Browsable(false)]
public int HoursColumnWidth { get; set; }

Property Value

int

MaxAllDayAreaHeight

Gets or sets the maximum height that the AllDay area can occupy.

Declaration

cs-api-definition
[Browsable(false)]
public int MaxAllDayAreaHeight { get; set; }

Property Value

int

TwoPagesPerDay

Gets or sets whether two pages should be printer for a single date.

Declaration

cs-api-definition
[Browsable(true)]
public bool TwoPagesPerDay { get; set; }

Property Value

bool

Methods

CopyProperties(SchedulerPrintStyle)

Declaration

cs-api-definition
public override void CopyProperties(SchedulerPrintStyle destination)

Parameters

destination

SchedulerPrintStyle

Overrides SchedulerPrintStyle.CopyProperties(SchedulerPrintStyle)

DrawAllDayArea(DateTime, IResource, Rectangle, Graphics)

Declaration

cs-api-definition
protected virtual int DrawAllDayArea(DateTime currentDate, IResource resource, Rectangle appArea, Graphics graphics)

Parameters

currentDate

DateTime

resource

IResource

appArea

Rectangle

graphics

Graphics

Returns

int

DrawAppointments(DateTime, IResource, Rectangle, Graphics)

Declaration

cs-api-definition
protected virtual void DrawAppointments(DateTime currentDate, IResource resource, Rectangle appArea, Graphics graphics)

Parameters

currentDate

DateTime

resource

IResource

appArea

Rectangle

graphics

Graphics

DrawAppointmentsArea(Rectangle, Graphics, int)

Draws the content area of the page.

Declaration

cs-api-definition
protected override void DrawAppointmentsArea(Rectangle appArea, Graphics graphics, int pageNumber)

Parameters

appArea

Rectangle

The bounds of the area.

graphics

Graphics

The graphics used for drawing.

pageNumber

int

One-based number of the current page.

Overrides SchedulerPrintStyle.DrawAppointmentsArea(Rectangle, Graphics, int)

DrawCells(Rectangle, Graphics, DateTime)

Declaration

cs-api-definition
protected virtual void DrawCells(Rectangle appArea, Graphics graphics, DateTime currentDate)

Parameters

appArea

Rectangle

graphics

Graphics

currentDate

DateTime

DrawNotesArea(Graphics, Rectangle, int)

Draws an area for handwritten notes.

Declaration

cs-api-definition
protected override Rectangle DrawNotesArea(Graphics graphics, Rectangle drawingArea, int pageNumber)

Parameters

graphics

Graphics

The graphics used for drawing.

drawingArea

Rectangle

The area in which the notes should be drawn.

pageNumber

int

1-based consecutive number of the page to be drawn in.

Returns

Rectangle

The bounds of the notes area.

Overrides SchedulerPrintStyle.DrawNotesArea(Graphics, Rectangle, int)

DrawNotesPage(Graphics, Rectangle, int)

Declaration

cs-api-definition
protected virtual void DrawNotesPage(Graphics graphics, Rectangle appArea, int pageNumber)

Parameters

graphics

Graphics

appArea

Rectangle

pageNumber

int

GetNumberOfPages(Rectangle, Graphics)

Returns the potential number of pages.

Declaration

cs-api-definition
public override int GetNumberOfPages(Rectangle pageBounds, Graphics g)

Parameters

pageBounds

Rectangle

The bounds of the page.

g

Graphics

The graphics object. Only used for measurement purposes.

Returns

int

Overrides SchedulerPrintStyle.GetNumberOfPages(Rectangle, Graphics)

GetPageDate(int)

Gets the date that corresponds to a given page.

Declaration

cs-api-definition
protected override DateTime GetPageDate(int pageNumber)

Parameters

pageNumber

int

The page number.

Returns

DateTime

The date.

Overrides SchedulerPrintStyle.GetPageDate(int)

GetPageResource(int)

Gets the resource that corresponds to a given page.

Declaration

cs-api-definition
protected override IResource GetPageResource(int pageNumber)

Parameters

pageNumber

int

The page number.

Returns

IResource

The resource.

Overrides SchedulerPrintStyle.GetPageResource(int)