Share via


ContentIslandEnvironment.DisplayScale Property

Definition

Gets the scaling factor of the application window associated with this **ContentIsland**.

public:
 property float DisplayScale { float get(); };
float DisplayScale();
public float DisplayScale { get; }
var single = contentIslandEnvironment.displayScale;
Public ReadOnly Property DisplayScale As Single

Property Value

Single

float

The scaling factor of the application window associated with this **ContentIsland** and expressed as a ratio between the DPI value of the application window and the USER_DEFAULT_SCREEN_DPI constant (similar to GetDpiForWindow).

Applies to