Method TryLoadFileAsBitmapBgra32
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Data.dll
TryLoadFileAsBitmapBgra32(IFileTypesService, string)
A wrapper around LoadFileAsBitmapBgra32(IFileTypesService, string) that returns null if an exception is thrown.
public static IBitmap<ColorBgra32>? TryLoadFileAsBitmapBgra32(this IFileTypesService service, string filePath)
Parameters
service
IFileTypesServicefilePath
string