Click or drag to resize
TextHelperEnsureIndentation Method (String, Int32, String)
Ensures the specified line endings in the given text.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string EnsureIndentation(
	string text,
	int level,
	string indentString
)

Parameters

text
Type: SystemString
Text to process
level
Type: SystemInt32
Level of the indentation
indentString
Type: SystemString
New line ending

Return Value

Type: String
See Also