Skip to main content
A newer version of this page is available. .

SchedulerPrintStyle.CreateBitmap(Int32, Int32) Method

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

Namespace: DevExpress.XtraScheduler.Printing

Assembly: DevExpress.XtraScheduler.v19.1.dll

Declaration

public virtual Bitmap CreateBitmap(
    int width,
    int height
)

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