Initializes a new instance of the C1PdfDocument class.
Namespace:
C1.Phone.PdfViewerAssembly: C1.Phone.PdfViewer (in C1.Phone.PdfViewer.dll)
Syntax
C# |
---|
public C1PdfDocument( Stream stream, Action<Object, ParsingErrorEventArgs> parsingErrorAction = null, Func<int, bool> isPageInViewport = null ) |
Visual Basic |
---|
Public Sub New ( _ stream As Stream, _ Optional parsingErrorAction As Action(Of Object, ParsingErrorEventArgs) = Nothing, _ Optional isPageInViewport As Func(Of Integer, Boolean) = Nothing _ ) |
Parameters
- stream
- Type: System.IO..::..Stream
The stream which contains the pdf document.
- parsingErrorAction
- Type: System..::..Action<(Of <(<'Object, ParsingErrorEventArgs>)>)>
The action executed when a parse error occurs.
- isPageInViewport
- Type: System..::..Func<(Of <(<'Int32, Boolean>)>)>
Function which determines whether a page is in the viewport.