次の方法で共有


ContentIsland.RasterizationScale Property

Definition

Gets the local dots per inch (dpi) of a Microsoft.UI.Composition.ICompositionSurface.

public:
 property float RasterizationScale { float get(); };
float RasterizationScale();
public float RasterizationScale { get; }
var single = contentIsland.rasterizationScale;
Public ReadOnly Property RasterizationScale As Single

Property Value

Single

float

Remarks

This is similar to the GetDpiForWindow function (winuser.h).

Applies to