Share via


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

'Declaration
Protected Overridable Function CreateDefaultStringFormat As StringFormat
'Usage
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.

.NET Framework Security

See Also

Reference

LabelShape Class

LabelShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace