Click or drag to resize

HeifContext(String) Constructor

Initializes a new instance of the HeifContext class, with the specified file to read from.

Namespace: LibHeifSharp
Assembly: LibHeifSharp (in LibHeifSharp.dll) Version: 2.3.0
Syntax
public HeifContext(
	string path
)

Parameters

path  String
The file to read from.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
ArgumentExceptionpath is empty, contains only whitespace or contains invalid characters.
FileNotFoundExceptionThe file specified by path does not exist.
HeifException Unable to create the native HeifContext. -or- The LibHeif version is not supported. -or- A LibHeif error occurred.
IOExceptionAn I/O error occurred.
SecurityExceptionThe caller does not have the required permission.
UnauthorizedAccessException The access requested is not permitted by the operating system for the specified path.
See Also