共用方式為


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

Syntax

'宣告
Public Property Size As Single
    Get
    Set
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: System.Single

.NET Framework Security

See Also

Reference

FontSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace