Skip to main content

XlPageSetup.UsePrinterDefaults Property

Gets or sets a value indicating whether to use the default page settings specified by the printer.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public bool UsePrinterDefaults { get; set; }

Property Value

Type Description
Boolean

true, to use the printer’s defaults settings for a printed page; otherwise, false.

Remarks

To specify page options for a worksheet, set the IXlSheet.PageSetup property to an instance of the XlPageSetup class that controls the page orientation, paper size, scaling options, printing DPI and other settings. For more information on how to adjust page formatting options, refer to the How to: Specify Print Settings article.

See Also