PdfToTextConverterConvertToText Method (Stream) |
Converts a PDF document stream to a string.
Namespace: ExpertPdfAssembly: pdftotext.net20.x86 (in pdftotext.net20.x86.dll) Version: 4.2
Syntaxpublic string ConvertToText(
Stream pdfStream
)
Public Function ConvertToText (
pdfStream As Stream
) As String
Parameters
- pdfStream
- Type: System.IOStream
The binary stream providing the PDF document bytes. It can be for example a
FileStream to convert a PDF file to text or a MemoryStream to convert the PDF document
represented as an array of bytes to text.
Return Value
Type:
StringThe text resulted after conversion.
See Also