TextField.DefaultStringFormat Property
Gets or sets the default string format for text drawing.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Property DefaultStringFormat As StringFormat
'Usage
Dim instance As TextField
Dim value As StringFormat
value = instance.DefaultStringFormat
instance.DefaultStringFormat = value
public StringFormat DefaultStringFormat { get; set; }
public:
property StringFormat^ DefaultStringFormat {
StringFormat^ get ();
void set (StringFormat^ value);
}
public function get DefaultStringFormat () : StringFormat
public function set DefaultStringFormat (value : StringFormat)
Property Value
Type: System.Drawing.StringFormat
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.