Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerPrintStyle.CreateBitmap(Int32, Int32) Method

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

Namespace: DevExpress.XtraScheduler.Printing

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#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