Partager via


DiagramClientView.DpiY Property

Display resolution X in dots per inch. MAY BE STALE if display resolution has changed since last call. Likely not and good enough for most purposes as it avoids creating another graphics.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public ReadOnly Property DpiY As Single
    Get
public float DpiY { get; }
public:
property float DpiY {
    float get ();
}
member DpiY : float32
function get DpiY () : float

Property Value

Type: System.Single

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace