StringFormat.GenericDefault Property
.NET Framework 2.0
Gets a generic default StringFormat object.
Namespace: System.Drawing
Assembly: System.Drawing (in system.drawing.dll)
Assembly: System.Drawing (in system.drawing.dll)
The following table shows initial property values for a generic default instance of the StringFormat class.
| Property | Initial Value |
|---|---|
| 0 | |
| Near | |
| 0 |
If you make changes to the StringFormat object returned from the GenericDefault property, these changes persist, and future calls to the GenericDefault property reflects these changes.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.