HTMLWordWrapWrapText Method

Alterian Email Manager 6.2.3 SDK Help File
WrapText will wrap lines after the last space, tab, or HTML tag found in each line.

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public static string WrapText(
	string fullText,
	int maxLineLength,
	bool mustWrap
)

Parameters

fullText
Type: SystemString
Generally, multi-line string content to be wrapped. The entire contents of an HTML template would be one example.
maxLineLength
Type: SystemInt32
The length at which the lines should be wrapped.
mustWrap
Type: SystemBoolean
Specifies whether or not to wrap the lines even if no suitable wrap position was found. If false, the method will not wrap long lines that don't seem to have a valid wrap position, so some lines exceeding maxLineLength may be returned. If true, the method will wrap at the maxLineLength in such a situation.

Return Value

Type: String
The text argument string with long lines wrapped.
See Also