Skybound Rebar

ControlRenderer.GetTextRenderFlags Method 

Gets a TextRenderFlags value which can be passed to DrawText or MeasureText in order to draw text on the current control.

[Visual Basic]
Overridable Public Function GetTextRenderFlags() As TextRenderFlags
[C#]
public virtual TextRenderFlags GetTextRenderFlags();

Return Value

A combination of TextRenderFlags values.

Remarks

The returned TextRenderFlags value takes into account whether keyboard accelerator cues should be displayed, whether text should be drawn using a right-to-left layout, and whether GDI or Graphics.DrawString should be used.

See Also

ControlRenderer Class | Skybound.Rebar.Rendering Namespace