Class PdfFileSource
Represent source PDF file.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Streaming
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public sealed class PdfFileSource : IDisposable
Constructors
PdfFileSource(Stream)
Initializes a new instance of the PdfFileSource class.
Declaration
public PdfFileSource(Stream pdfFileStream)
Parameters
System.IO.Stream
pdfFileStream
The pdf file stream. |
PdfFileSource(Stream, Boolean)
Initializes a new instance of the PdfFileSource class.
Declaration
public PdfFileSource(Stream pdfFileStream, bool leaveStreamOpen)
Parameters
System.IO.Stream
pdfFileStream
The pdf file stream. |
System.Boolean
leaveStreamOpen
Boolean value indicating whether or not to close the stream when PdfFileSource instance is disposed. The default value is false. |
PdfFileSource(Stream, PdfImportSettings, Boolean)
Initializes a new instance of the PdfFileSource class.
Declaration
public PdfFileSource(Stream pdfFileStream, PdfImportSettings importSettings, bool leaveStreamOpen)
Parameters
System.IO.Stream
pdfFileStream
The PDF file System.IO.Stream instance. |
PdfImportSettings
importSettings
The PdfImportSettings instance specifying settings for PDF file import. |
System.Boolean
leaveStreamOpen
Boolean value indicating whether or not to close the stream when PdfFileSource instance is disposed. The default value is false. |
Properties
Pages
Gets the pages.
Declaration
public PdfPageSource[] Pages { get; }
Property Value
PdfPageSource[]
The pages. |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()