Click or drag to resize
TransformationHelperEnsureMaximumLineLength Method
Limits line length of the given plain text.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public string EnsureMaximumLineLength(
	Object textObj,
	int maxLength
)

Parameters

textObj
Type: SystemObject
Plain text to limit (Text containing HTML tags is not supported)
maxLength
Type: SystemInt32
Maximum line length

Return Value

Type: String
See Also