Click or drag to resize

PdfAvailabilityProvider Class

Represents PDF document availability provider.
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.NetPdfAvailabilityProvider

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.111.2704
Syntax
public class PdfAvailabilityProvider : IDisposable

The PdfAvailabilityProvider type exposes the following members.

Constructors
 NameDescription
Public methodPdfAvailabilityProvider Construct instance of PdfAvailabilityProvider class with specified file size
Top
Properties
 NameDescription
Public propertyDocument Gets the PDF document associated with the current availability provider.
Public propertyFirstAvailablePageIndex Gets zero-based index for the first available page in a linearized PDF
Public propertyHandle Gets the Pdfium SDK handle that the page is bound to
Public propertyIsDisposed Gets a value indicating whether the object has been disposed of.

Field Value

true if the control has been disposed of; otherwise, false.
Public propertyIsDocumentAvailable Check whether the document is ready for loading, if not, fires AddSegment event.
Public propertyIsFormAvailable Check whether Form data is ready for init, if not, get download hints. IsFormAvailableResults for details.
Public propertyIsLinearized To check whether a document is Linearized PDF file. IsLinearizedResults for more details.
Top
Methods
 NameDescription
Public methodCreateDocument Get document from the availability provider and store it in Document property.
Public methodDispose Release all resources allocated by PdfAvailabilityProvider
Protected methodDispose(Boolean) Releases all resources used by the PdfImageObject.
Protected methodFinalize Finalize object
(Overrides ObjectFinalize)
Public methodInitDocument Initialize the created PDF document.
Public methodIsPageAvailable Check whether a page is ready for loading, if not, fires AddSegment event.
Top
Events
 NameDescription
Public eventAddSegment Called by SDK to report some downloading hints for download manager.
Note  Note
Required: Yes.
Public eventIsSegmentAvailable Called by SDK to check whether the data section is ready.
Note  Note
Required: Yes.
Public eventReadSegment Called by SDK to read some data from download manager.
Note  Note
Required: Yes.
Top
See Also