Click or drag to resize
Ab4d.SharpEngine logo

PngBitmapIO Properties

The PngBitmapIO type exposes the following members.

Properties
 NameDescription
Public propertyConvertToSupportedFormatObsolete
Public propertyFileNotFoundResolver Gets or sets a Func that takes file name of a file that does not exist and returns an existing file name. If file name is not resolved, then null is returned. By default, the FileNotFoundResolver in PngBitmapIO is set to a method that tries to resolve the file name by combining it with the base directory of the application.
Public propertyFileNotSupportedResolver Gets or sets a Func that takes file name of a file in a file format that is not .png (only png is supported by PngBitmapIO). If file name is not resolved, then null is returned.
Public propertyFileStreamResolver Gets or sets a Func that takes file name of a file that does not exist and returns a stream to the file. The returned stream is closed after the bitmap is read. If file name is not resolved, then null is returned.
Top
See Also