TextSource.PixelsPerDip Property
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 or sets the PixelsPerDip at which the text should be rendered.
public:
property double PixelsPerDip { double get(); void set(double value); };
C#
public double PixelsPerDip { get; set; }
member this.PixelsPerDip : double with get, set
Public Property PixelsPerDip As Double
The current PixelsPerDip value.
Any class that extends TextSource should update PixelsPerDip whenever the DPI changes for a Per Monitor DPI Aware application.
Produto | Versões |
---|---|
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: