Class
SchedulerBaseWeeklyPrintStyle

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public abstract class SchedulerBaseWeeklyPrintStyle : SchedulerPrintStyle, ICloneable

Inheritance: objectSchedulerPrintStyleSchedulerBaseWeeklyPrintStyle

Derived Classes: SchedulerWeeklyCalendarPrintStyleSchedulerWeeklyPrintStyle

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.DrawNotesArea(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.DrawAppointmentsArea(Rectangle, Graphics, int)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.CopyProperties(SchedulerPrintStyle)SchedulerPrintStyle.EndPrint()SchedulerPrintStyle.GroupTypeSchedulerPrintStyle.ShowTimezoneSchedulerPrintStyle.HeadingAreaHeightSchedulerPrintStyle.NotesAreaWidthSchedulerPrintStyle.DrawPageTitleSchedulerPrintStyle.DrawPageTitleCalendarSchedulerPrintStyle.ShowNotesAreaSchedulerPrintStyle.ShowLinedNotesAreaSchedulerPrintStyle.DateHeadingFontSchedulerPrintStyle.AppointmentFontSchedulerPrintStyle.PageHeadingFontSchedulerPrintStyle.TotalDaysSchedulerPrintStyle.TimeStartRangeSchedulerPrintStyle.TimeEndRangeSchedulerPrintStyle.SchedulerSchedulerPrintStyle.IsGroupedSchedulerPrintStyle.PrintElementFormattingSchedulerPrintStyle.CellElementFormattingSchedulerPrintStyle.AppointmentElementFormattingSchedulerPrintStyle.PrintElementPaintSchedulerPrintStyle.CellElementPaintSchedulerPrintStyle.AppointmentElementPaint

Constructors

SchedulerBaseWeeklyPrintStyle()

Creates a new instance of the class.

Declaration

cs-api-definition
public SchedulerBaseWeeklyPrintStyle()

SchedulerBaseWeeklyPrintStyle(DateTime, DateTime)

Creates a new instance of the class.

Declaration

cs-api-definition
public SchedulerBaseWeeklyPrintStyle(DateTime startDate, DateTime endDate)

Parameters

startDate

DateTime

The start date of the printing range.

endDate

DateTime

The end date of the printing range.

Properties

AppointmentHeight

Gets or sets the height of the appointments.

Declaration

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

Property Value

int

DateEndRange

Gets or sets the end date of the date range which describes which appointments should be printed.

Declaration

cs-api-definition
[Browsable(true)]
public override DateTime DateEndRange { get; set; }

Property Value

DateTime

Overrides SchedulerPrintStyle.DateEndRange

DateStartRange

Gets or sets the start date of the date range which describes which appointments should be printed.

Declaration

cs-api-definition
[Browsable(true)]
public override DateTime DateStartRange { get; set; }

Property Value

DateTime

Overrides SchedulerPrintStyle.DateStartRange

ExcludeNonWorkingDays

Gets or sets a value indiating whether the nonworking days should be printed.

Declaration

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

Property Value

bool

FirstDayOfWeek

Gets or sets the first day to be printed.

Declaration

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

Property Value

DayOfWeek

OverflowImage

Gets or sets the image that is printed at the bottom of a cell when there are more appointments than can be shown.

Declaration

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

Property Value

Image

TwoPagesPerWeek

Gets or sets a value indicating whether a single page should be printed on two pages.

Declaration

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

Property Value

bool

Methods

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)