Click or drag to resize
PdfSearchTextExtractorStripInvalidContentCharacters Method
Strips invalid characters from the content before being returned as the extracted PDF content.

Namespace: CMS.Search.TextExtractors
Assembly: CMS.Search.TextExtractors (in CMS.Search.TextExtractors.dll) Version: 12.0.0
Syntax
C#
protected virtual string StripInvalidContentCharacters(
	string content
)

Parameters

content
Type: SystemString
Input to strip invalid characters from.

Return Value

Type: String
Returns input with invalid characters stripped, or null if input is null.
Remarks
The default implementation strips invalid Unicode surrogate pairs from the content.
See Also