PDFView4NET WPF Edition
Peek Method




O2S.Components.PDFEngine.Core Namespace > PDFStream Class : Peek Method
Reads a byte from the stream without advancing the position within the stream.
Syntax
'Declaration
 
Public Overridable Function Peek() As Integer
'Usage
 
Dim instance As PDFStream
Dim value As Integer
 
value = instance.Peek()
public virtual int Peek()
public: virtual int Peek(); 
public:
virtual int Peek(); 

Return Value

The unsigned byte or -1 if at the end of the stream.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFStream Class
PDFStream Members