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.PageSettings Property

Gets or sets the page settings for this print style.

Namespace: DevExpress.XtraScheduler.Printing

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

[Browsable(false)]
public PageSettings PageSettings { get; set; }

#Property Value

Type Description
PageSettings

A PageSettings object which contains the page settings for this print style.

#Remarks

By default the page settings are obtained from the corresponding PrintingSystem object.

#Example

This code snippet obtains the DailyPrintStyle from the SchedulerControl.PrintStyles collection, changes its print color scheme to Grayscale and the page orientation to Landscape and subsequently specifies the modified style as the default print style. To verify changes, you are prompted to invoke the Print Preview window using the command button in the Ribbon UI.

DailyPrintStyle printStyle = (DailyPrintStyle)schedulerControl1.PrintStyles[SchedulerPrintStyleKind.Daily];
printStyle.ColorConverter = PrintColorConverter.GrayScaleColor;  
printStyle.PageSettings.Landscape = true;
schedulerControl1.ActivePrintStyle = printStyle;
MessageBox.Show("Click Print Preview to show the printout using the customized DailyPrintStyle.", "Info");
See Also