Back to Devexpress

WorkbookLayoutOptions.ResetDpi() Method

officefileapi-devexpress-dot-xtraspreadsheet-dot-workbooklayoutoptions-635363eb.md

latest1.3 KB
Original Source

WorkbookLayoutOptions.ResetDpi() Method

Specifies that the screen DPI value should be used to generate a document layout.

Namespace : DevExpress.XtraSpreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public void ResetDpi()
vb
Public Sub ResetDpi

Remarks

Call the ResetDpi method to use the screen DPI for document layout generation instead of a custom DPI value defined by the Dpi property. This method sets the WorkbookLayoutOptions.DefaultDpi property’s value to true.

See Also

WorkbookLayoutOptions Class

WorkbookLayoutOptions Members

DevExpress.XtraSpreadsheet Namespace