PdfToTextConverterConvertToTextPages(Stream) Method |
Extracts the text of a PDF document stream page by page: one string for each page, in one call.
Namespace: ExpertPdf.AnywhereAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic string[] ConvertToTextPages(
Stream pdfStream
)
Public Function ConvertToTextPages (
pdfStream As Stream
) As String()
Parameters
- pdfStream Stream
- The binary stream providing the PDF document bytes. It can be for example a
FileStream or a MemoryStream over the PDF document bytes.
Return Value
StringThe text of each page: the first entry is the text of the
StartPageNumber page,
the last one the text of the
EndPageNumber page (or of the last page of the document when
EndPageNumber is 0). A page without text gives an empty string.
Remarks
See Also