







Retrieves Document parts asynchronously from locally hosted .xod file.
Namespace: PDFTron.SilverDox.IO
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010
Syntax
C# |
---|
public class LocalPartRetriever : IPartRetriever, IDisposable |
Visual Basic |
---|
Public Class LocalPartRetriever _ Implements IPartRetriever, IDisposable |
Visual C++ |
---|
public ref class LocalPartRetriever : IPartRetriever, IDisposable |
Remarks
This retriever (like all retrievers) is typically passed to Document's LoadAsync(IPartRetriever, Action<(Of <<'(Exception>)>>)) method or DocumentViewer's LoadAsync(IPartRetriever, Action<(Of <<'(Exception>)>>)) method to facilitate loading a Document.
This particular retriever is used to retrieve documents from the local file system. This part retriever is constructed using a seekable Stream, such as a FileStream. Note, however, that any seekable Stream (e.g. a MemoryStream) can be used, expanding the number of scenarios in which this retriever could be used.