Search
IPlatformProvider.GetRenderedText Method
See Also
 






Returns a representation of the specified text, which is ready to be rendered.

Namespace: MindFusion
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

string GetRenderedText (
    string text,
    Font font,
    Brush brush,
    Rect rect,
    StringFormat format
)

Visual Basic  Copy Code

Function GetRenderedText( _
    text As String, _
    font As Font, _
    brush As Brush, _
    rect As Rect, _
    format As StringFormat _
) As String

 Parameters

text

The text to be processed.

font

The font the text will be rendered with.

brush

The brush that will be used to render the text.

rect

The target rectangle where the text will be rendered.

format

The alignment and format of the rendered text.

 Return Value

The render-ready representation of the text.

 See Also