Click or drag to resize

PFFieldHtmlHelperLimitTextSize Method

FromTrustedHtmlLimits the size of a text. If the text size exceeds the maxLength, removes last characters and appends " ...".

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public static string LimitTextSize(
	string text,
	int maxLength
)

Parameters

text
Type: SystemString
maxLength
Type: SystemInt32

Return Value

Type: String
See Also