Opens a stream to the disk file used by this LeadFileStream.
public void Open()
Public Sub Open()
The LEADTOOLS class methods that uses LeadStream such as RasterCodecs.GetInformationAsync, RasterCodecs.LoadAsync, RasterCodecs.LoadSvgAsync or RasterCodecs.SaveAsync will call Open when it is ready to use the underlying stream.
Open will perform the following:
System.IO.Streamusing the following and setting it into the Stream property:
this.Stream = new FileStream(this.FileName, this.Mode, this.Access, this.Share);
Afterwards, the LEADTOOLS methods will access Stream to load or store data.
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.Target Platforms
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries