共用方式為


FontStyleSetInfo.Style Property

Gets or sets the font's bold, italic, strikeout, and underline styles.

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 Style As FontStyle
    Get
    Set
public FontStyle Style { get; set; }
public:
property FontStyle Style {
    FontStyle get ();
    void set (FontStyle value);
}
member Style : FontStyle with get, set
function get Style () : FontStyle
function set Style (value : FontStyle)

Property Value

Type: System.Drawing.FontStyle

.NET Framework Security

See Also

Reference

FontStyleSetInfo Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace