HttpStreamingPartRetriever Members

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image

The HttpStreamingPartRetriever type exposes the following members.

Constructors

  NameDescription
Public methodHttpStreamingPartRetriever
Constructs a new HttpStreamingPartRetriever.

Methods

  NameDescription
Public methodAddBytes
If the .xod if not accessed via a URI but via some other mechanism that can provide a stream of bytes (e.g. directly from a WCF service), then this method may be used to provide the retriever with bytes as they become available. Do not provide the constructor with a URI if you intend to use this method.
Public methodCancelAllRequests
Cancels all outstanding requests.
Public methodCancelRequests
Cancels requests for specific Document parts.
Public methodRequest
Requests specfic Document document parts.
Public methodRequestDocument
Requests the information necessary to initilize the Document.

Properties

  NameDescription
Public propertyBackgroundLoadDocument
If true, the part retriever will continued to download content for pages that are not currently being displayed.
Public propertyShowThumbnailBeforePageContent
If true, shows an upscaled thumbnail on a page while the page's content is downloadd.
Public propertyUri
The URI of the HTTP server-hosted .xod file.
Public propertyUseDocumentThumbnailIfAvailable
If true, uses a document's pre-rendered thumbnail rather than rendering one on the fly from the page's content.

Events

  NameDescription
Public eventOnPartReady
Raised when a part has been acquired. It is necessary to subscribe to this event to receive the parts returned by a call to the Request(List<(Of <<'(String>)>>), Object) or RequestDocument()()()() methods.

See Also