Back to Devexpress

WorkbookLayoutOptions.DefaultDpi Property

officefileapi-devexpress-dot-xtraspreadsheet-dot-workbooklayoutoptions-2b9672be.md

latest1.8 KB
Original Source

WorkbookLayoutOptions.DefaultDpi Property

Indicates whether a custom or default (screen) DPI value is used for document layout generation.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
[Browsable(false)]
public bool DefaultDpi { get; }
vb
<Browsable(False)>
Public ReadOnly Property DefaultDpi As Boolean

Property Value

TypeDescription
Boolean

true if the screen DPI value is used; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to DefaultDpi
WorkbookOptions

.Layout .DefaultDpi

|

Remarks

Our Spreadsheet Document API uses the screen DPI value to generate a workbook layout. Use the WorkbookLayoutOptions.Dpi property to specify a custom DPI value.

See Also

WorkbookLayoutOptions Class

WorkbookLayoutOptions Members

DevExpress.XtraSpreadsheet Namespace