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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property DpiY As Single
public float DpiY { get; }
public:
property float DpiY {
    float get ();
}
member DpiY : float32 with get
function get DpiY () : float

Property Value

Type: System.Single

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace