DpiScale Struct

Definition

Stores DPI information from which a Visual or UIElement is rendered.

public value class DpiScale
public struct DpiScale
type DpiScale = struct
Public Structure DpiScale
Inheritance
DpiScale

Constructors

DpiScale(Double, Double)

Initializes a new instance of the DpiScale structure.

Properties

DpiScaleX

Gets the DPI scale on the X axis.

DpiScaleY

Gets the DPI scale on the Yaxis.

PixelsPerDip

Get or sets the PixelsPerDip at which the text should be rendered.

PixelsPerInchX

Gets the DPI along X axis.

PixelsPerInchY

Gets the DPI along Y axis.

Applies to