Factory class that can be used to quickly create ILeadStream objects form various input or output sources.
public sealed abstract class Factory
Public NotInheritable MustInherit Class Factory
LeadStream.Factory is a class containing helper methods that can be used to quickly create ILeadStream objects form various input or output sources. For instance:
// From a .NET stream. This returns LeadStream
ILeadStream leadStream1 = LeadStream.Factory.FromStream(stream);
// From a file on disk. This returns LeadFileStream
ILeadStream leadStream2 = LeadStream.Factory.OpenFile(fileName);
// From a a URL. This returns HttpClientLeadStream
ILeadStream leadStream3 = await LeadStream.Factory.FromUri(new Uri(url)))
Refer to RasterCodecs Async Operations for more information and examples.
For .NET Framework: A reference to the Leadtools.Async.dll assembly is required to use this functionality.
For .NET Standard: This functionality is included in the Leadtools.dll assembly.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries