Skybound Rebar

ControlRenderer.GetStringFormat Method 

Returns a StringFormat instance used to draw text on the control.

[Visual Basic]
Overridable Public Function GetStringFormat() As StringFormat
[C#]
public virtual StringFormat GetStringFormat();

Return Value

A StringFormat object that can be passed to a DrawString method to draw the control's text.

Remarks

The returned StringFormat object has the following attributes:

When you are finished using the returned StringFormat object, it is up to you to dispose it.

See Also

ControlRenderer Class | Skybound.Rebar.Rendering Namespace