Class SchedulerDailyPrintStyle
Represents a print style which prints on each page appointments in a single day.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class SchedulerDailyPrintStyle : SchedulerPrintStyle, ICloneable
Constructors
SchedulerDailyPrintStyle()
Creates a new instance of the class.
Declaration
public SchedulerDailyPrintStyle()
SchedulerDailyPrintStyle(DateTime, DateTime)
Creates a new instance of the class.
Declaration
public SchedulerDailyPrintStyle(DateTime startRange, DateTime endRange)
Parameters
System.DateTime
startRange
The start date of the printing range. |
System.DateTime
endRange
The end date of the printing range. |
Properties
AllDayAppointmentHeight
Gets or sets the height of the appointments in the AllDay area.
Declaration
public int AllDayAppointmentHeight { get; set; }
Property Value
System.Int32
|
HoursColumnWidth
Gets or sets the width of the hours column.
Declaration
public int HoursColumnWidth { get; set; }
Property Value
System.Int32
|
MaxAllDayAreaHeight
Gets or sets the maximum height that the AllDay area can occupy.
Declaration
public int MaxAllDayAreaHeight { get; set; }
Property Value
System.Int32
|
TwoPagesPerDay
Gets or sets whether two pages should be printer for a single date.
Declaration
public bool TwoPagesPerDay { get; set; }
Property Value
System.Boolean
|
Methods
CopyProperties(SchedulerPrintStyle)
Declaration
public override void CopyProperties(SchedulerPrintStyle destination)
Parameters
SchedulerPrintStyle
destination
|
Overrides
DrawAllDayArea(DateTime, IResource, Rectangle, Graphics)
Declaration
protected virtual int DrawAllDayArea(DateTime currentDate, IResource resource, Rectangle appArea, Graphics graphics)
Parameters
System.DateTime
currentDate
|
IResource
resource
|
System.Drawing.Rectangle
appArea
|
System.Drawing.Graphics
graphics
|
Returns
System.Int32
|
DrawAppointments(DateTime, IResource, Rectangle, Graphics)
Declaration
protected virtual void DrawAppointments(DateTime currentDate, IResource resource, Rectangle appArea, Graphics graphics)
Parameters
System.DateTime
currentDate
|
IResource
resource
|
System.Drawing.Rectangle
appArea
|
System.Drawing.Graphics
graphics
|
DrawAppointmentsArea(Rectangle, Graphics, Int32)
Declaration
protected override void DrawAppointmentsArea(Rectangle appArea, Graphics graphics, int pageNumber)
Parameters
System.Drawing.Rectangle
appArea
|
System.Drawing.Graphics
graphics
|
System.Int32
pageNumber
|
Overrides
DrawCells(Rectangle, Graphics)
Declaration
[Obsolete("Use the DrawCells overload accepting an additional DateTime parameter.")]
protected virtual void DrawCells(Rectangle appArea, Graphics graphics)
Parameters
System.Drawing.Rectangle
appArea
|
System.Drawing.Graphics
graphics
|
DrawCells(Rectangle, Graphics, DateTime)
Declaration
protected virtual void DrawCells(Rectangle appArea, Graphics graphics, DateTime currentDate)
Parameters
System.Drawing.Rectangle
appArea
|
System.Drawing.Graphics
graphics
|
System.DateTime
currentDate
|
DrawNotesArea(Graphics, Rectangle, Int32)
Declaration
protected override Rectangle DrawNotesArea(Graphics graphics, Rectangle drawingArea, int pageNumber)
Parameters
System.Drawing.Graphics
graphics
|
System.Drawing.Rectangle
drawingArea
|
System.Int32
pageNumber
|
Returns
System.Drawing.Rectangle
|
Overrides
DrawNotesPage(Graphics, Rectangle, Int32)
Declaration
protected virtual void DrawNotesPage(Graphics graphics, Rectangle appArea, int pageNumber)
Parameters
System.Drawing.Graphics
graphics
|
System.Drawing.Rectangle
appArea
|
System.Int32
pageNumber
|
GetNumberOfPages(Rectangle, Graphics)
Declaration
public override int GetNumberOfPages(Rectangle pageBounds, Graphics g)
Parameters
System.Drawing.Rectangle
pageBounds
|
System.Drawing.Graphics
g
|
Returns
System.Int32
|
Overrides
GetPageDate(Int32)
Declaration
protected override DateTime GetPageDate(int pageNumber)
Parameters
System.Int32
pageNumber
|
Returns
System.DateTime
|
Overrides
GetPageResource(Int32)
Declaration
protected override IResource GetPageResource(int pageNumber)
Parameters
System.Int32
pageNumber
|
Returns
IResource
|