Initializes a new instance of this class with the specified parameters.
public LeadFileStream(
string fileName,
FileMode mode,
FileAccess access,
FileShare share
)
fileName
Path to the file name to use with this stream.
mode
Mode to use when opening or creating the file.
access
Access rights to use when opening or creating the file.
share
Share modes to use when opening or creating the file.
The LeadStream.Factory.OpenFile and LeadStream.Factory.CreateFile can be used to quickly create LeadFileStream instances from a file on disk.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document