LabelShape.CreateDefaultStringFormat Method

Creates the format to use for the label shape text.

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

Syntax

'宣言
Protected Overridable Function CreateDefaultStringFormat As StringFormat
'使用
Dim returnValue As StringFormat

returnValue = Me.CreateDefaultStringFormat()
protected virtual StringFormat CreateDefaultStringFormat()
protected:
virtual StringFormat^ CreateDefaultStringFormat()
protected function CreateDefaultStringFormat() : StringFormat

Return Value

Type: System.Drawing.StringFormat

The format to use for the label shape text.

Permissions

See Also

Reference

LabelShape Class

LabelShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace