Share via


FontSettings.Size Property

Gets or sets the size of the font in world units (inches). A point is 1/72nd of an inch. Only allows the change if the property is not immutable and sets the override flags appropriately.

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

Syntax

'Declaration
Public Property Size As Single
public float Size { get; set; }
public:
property float Size {
    float get ();
    void set (float value);
}
member Size : float32 with get, set
function get Size () : float 
function set Size (value : float)

Property Value

Type: Single

.NET Framework Security

See Also

Reference

FontSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace