Table of Contents

Method WrapTextToMultipleLines

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

WrapTextToMultipleLines(string, double, Font, double?)

Performs word wrapping of the text.

public static string WrapTextToMultipleLines(string text, double maxWidth, Font font, double? scaleFactor = null)

Parameters

text string

Text to wrap.

maxWidth double

Width of the text in device-independent units.

font Font

Text font.

scaleFactor double?

Scale factor.

Returns

string