FontInfo::ToString Method ()

 

Returns a string that contains the font name and size for an instance of the FontInfo class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
virtual String^ ToString() override

Return Value

Type: System::String^

A string that contains the font name and size for an instance of the FontInfo class.

Use the ToString method to create a string that contains the font name and size, separated by a comma, for an instance of the FontInfo class.

System_CAPS_noteNote

If the Size property is not set, only the font name is returned.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: