Retrieves a DIB's resolution in X-direction measured in 'dots per inch' (DPI) and not in
'dots per meter'.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static uint GetResolutionX( FIBITMAP dib ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetResolutionX ( _ dib As FIBITMAP _ ) As UInteger |
Visual C++ |
---|
public: static unsigned int GetResolutionX( FIBITMAP dib ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
Return Value
The resolution in 'dots per inch'.Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | dib is null. |