Click or drag to resize
CMSAbstractTransformationLimitLength Method (Object, Int32)
Limits length of the given plain text.

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

Parameters

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

Return Value

Type: String
See Also