Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the reader.
Namespace:
Atalasoft.Pdf.TextExtract
Assembly:
Atalasoft.dotImage.PdfReader (in Atalasoft.dotImage.PdfReader.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public override int Peek()
Public Overrides Function Peek As Integer
Return Value
Type:
Int32An integer representing the next character to be read, or -1 if no more characters are available or the reader does not support seeking.
Exceptions Exception | Condition |
---|
ObjectDisposedException | The TextReader is closed. |
IOException | An I/O error occurs. |
See Also