SchedulerPrintStyle.CreateBitmap(Int32, Int32) Method

Creates an image with the specified dimensions specific to this print style.

Namespace: DevExpress.XtraScheduler.Printing

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

public virtual Bitmap CreateBitmap(
    int width,
    int height
)
Public Overridable Function CreateBitmap(
    width As Integer,
    height As Integer
) As Bitmap

Parameters

Name Type Description
width Int32

An integer value which specifies the width of the image.

height Int32

An integer value which specifies the height of the image.

Returns

Type Description
Bitmap

A Bitmap object representing the image which corresponds to the current print style.

Remarks

The CreateBitmap method is used to create images that correspond to print styles. The image is represented by a rectangular region with the specified dimensions. The following bitmaps will be created for the standard print styles.

Style Name Icon
Daily Style PrintStyleDaily
Weekly Style PrintStyleWeekly
Monthly Style PrintStyleMonthly
Tri-fold Style PrintStyleTriFold
Calendar Details Style PrintStyleCalendarDetails
Memo Style PrintStyleMemo
See Also