TransformationHelper EnsureMaximumLineLength Method Kentico 8.0 API Reference
Limits line length of the given plain text.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

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

Return Value

Type: OnlineString
See Also