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)
'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
Type: System.Single
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.