| CMSAbstractTransformationLimitLength Method (Object, Int32, String, Boolean) | 
            Limits length of the given plain text.
            
 
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
 Syntax
Syntaxpublic string LimitLength(
	Object textObj,
	int maxLength,
	string padString,
	bool wholeWords
)
Parameters
- textObj
- Type: SystemObject
 Plain text to limit (Text containing HTML tags is not supported)
- maxLength
- Type: SystemInt32
 Maximum text length
- padString
- Type: SystemString
 Trimming postfix
- wholeWords
- Type: SystemBoolean
 If true, the text won't be cut in the middle of the word
Return Value
Type: 
String See Also
See Also