VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Png Namespace / PngFile Class / PngFile Constructors / PngFile Constructor(String)
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
PngFile Constructor(String)
In This Topic
Initializes a new instance of the PngFile class.
Syntax
'Declaration

Public Function New( _
ByVal filename
The name of the image file.
As System.String _
)
public PngFile(
System.String filename
)

Parameters

filename
The name of the image file.
Exceptions
ExceptionDescription
Thrown if filename is null.
Remarks

PNG file will be opened in FileMode.Open mode and with FileAccess.ReadWrite access.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also