Click or drag to resize
TextHelperSplitPages Method
Returns an array of text pages created from the input string according to the page size.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string[] SplitPages(
	string text,
	int pageSize,
	bool processTextDecoded = false
)

Parameters

text
Type: SystemString
Input string to create pages from
pageSize
Type: SystemInt32
Page size
processTextDecoded (Optional)
Type: SystemBoolean
If true, the plain text within the given text is processed decoded (with entities resolved)

Return Value

Type: String
See Also