XL.Book.GetDpiAwareness
-----------------------

Queries the DpiAwareness property.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [16.1](newinversion161.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.Book.GetDpiAwareness"; BookRef ) 

**MBS**( **"XL.Book.GetDpiAwareness";** /\* Queries the DpiAwareness property. \*/  
**$BookRef**) /\* The reference to the workbook. Please use [XL.LoadBook](XLLoadBook.md) to load a file.e.g. $ref \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference to the workbook. Please use [XL.LoadBook](XLLoadBook.md) to load a file. | $ref |

### Result

Returns 1, 0 or error.

### Description

Queries the DpiAwareness property.  
### See also

- [XL.Book.SetDpiAwareness](XLBookSetDpiAwareness.md)
- [XL.LoadBook](XLLoadBook.md)

### Release notes

- **Version Prerelease**
    - Added XL.Book.GetDpiAwareness and XL.Book.SetDpiAwareness functions.

Created 20th January 2026 , last changed 20th January 2026

  
[XL.Book.GetDefaultFontSize](XLBookGetDefaultFontSize.md) - [XL.Book.GetPicture](XLBookGetPicture.md)

[HTML Version](XLBookGetDpiAwareness.shtml)