Parameters
- filename
- The name of the image file.
- mode
- A FileMode constant that determines how to open or create the image file.
Exception | Description |
---|---|
System.ArgumentNullException | Thrown if filename is null. |
GIF file will be opened with FileAccess.Read access.
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5