Returns the pixelformat of the bitmap.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public static PixelFormat GetPixelFormat( FIBITMAP dib ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetPixelFormat ( _ dib As FIBITMAP _ ) As PixelFormat |
| Visual C++ |
|---|
public: static PixelFormat GetPixelFormat( FIBITMAP dib ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
Return Value
PixelFormat of the bitmap.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | dib is null. |