Table of Contents

Method WrapTextToList

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

WrapTextToList(string, double, Font, double?)

Performs word wrapping of the text.

public static List<string> WrapTextToList(string text, double pixels, Font font, double? scaleFactor = null)

Parameters

text string

Text to wrap.

pixels double

Width of the text in device-independent units.

font Font

Text font.

scaleFactor double?

Scale factor.

Returns

List<string>