Condividi tramite


DiagramClientView.DpiX Property

Display resolution X in dots per inch. MAY BE STALE if display resolution has changed since last call to UpdateRatios (via W2D/D2W calls). It is likely not to have changed and good enough for most purposes (creation was for bump-scrolling) as it avoids creating another graphics as does GetWorldUnitsPerDeviceUnits.

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

Syntax

'Dichiarazione
Public ReadOnly Property DpiX As Single
    Get
public float DpiX { get; }
public:
property float DpiX {
    float get ();
}
member DpiX : float32
function get DpiX () : float

Property Value

Type: System.Single

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace