ContentIslandEnvironment.DisplayScale Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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).