PsDocument.ExtractText

PsDocument.ExtractText method

Extract text from PS file. The text can be extracted only if it is written with Type 42 (TrueType) font or Type 0 font with Type 42 fonts in its Vector Map.

public string ExtractText(SaveOptions options, int startPage = 0, int endPage = 0)
ParameterTypeDescription
optionsSaveOptionsThe save options.
startPageInt32The page from which to begin to extract text. This parameter is usefull for multi-paged documents.
endPageInt32The page till which to finish to extract text. This parameter is usefull for multi-paged documents.

Return Value

The extracted text.

See Also