共用方式為


TextField.DefaultStringFormat Property

Gets or sets the default string format for text drawing.

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

Property Value

Type: System.Drawing.StringFormat

.NET Framework Security

See Also

Reference

TextField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace