Click or drag to resize
TextHelperSplitPages Method (String, Int32, Boolean)
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: 11.0.0
Syntax
C#
public static string[] SplitPages(
	string text,
	int pageSize,
	bool processTextDecoded
)

Parameters

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

Return Value

Type: String
See Also