BorderGetDpiScaling

Syntax

IsEnabled.b = BorderGetDpiScaling(Border)

Description

Checks whether DPI scaling is enabled or disabled for the specified border object (applies to both generated and image borders).

Parameters

Border
The handle of the border object.

Return Value

Returns #True if DPI scaling is enabled for the border, or #False if it is disabled or the border handle is invalid.

Remarks

When DPI scaling is enabled (default), border widths and radii (for generated borders) or slice offsets and edge scaling (for image borders) are automatically scaled based on the current drawing DPI. Disabling DPI scaling means the border will be drawn using its defined pixel values regardless of the display scaling.

See Also

BorderSetDpiScaling, CreateBorder, CreateBorderImg

Supported OS

Windows, Linux