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

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.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