Skip to main content

XlPageSetup.HorizontalDpi Property

Gets or sets the horizontal printer resolution, in dots per inch.

Namespace: DevExpress.Export.Xl

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

Declaration

public int HorizontalDpi { get; set; }

Property Value

Type Description
Int32

A positive integer that specifies the printing resolution.

The default value is 600 DPI.

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 and other settings. For more information on how to adjust page formatting options, refer to the How to: Specify Print Settings article.

See Also