共用方式為


LabelShape.CreateDefaultStringFormat Method

Creates the format to use for the label shape text.

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

Syntax

'宣告
Protected Overridable Function CreateDefaultStringFormat As StringFormat
protected virtual StringFormat CreateDefaultStringFormat()
protected:
virtual StringFormat^ CreateDefaultStringFormat()
abstract CreateDefaultStringFormat : unit -> StringFormat 
override CreateDefaultStringFormat : unit -> StringFormat 
protected function CreateDefaultStringFormat() : StringFormat

Return Value

Type: System.Drawing.StringFormat
The format to use for the label shape text.

.NET Framework Security

See Also

Reference

LabelShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace