FreeImage.GetResolutionX Method
From FreeImage.NET
FreeImage.NET Class Library Reference
| FreeImageGetResolutionX Method |
Retrieves a DIB's resolution in X-direction measured in 'dots per inch' (DPI) and not in
'dots per meter'.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
C#
public static uint GetResolutionX( FIBITMAP dib )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
Return Value
Type: UInt32The resolution in 'dots per inch'.
| Exception | Condition |
|---|---|
| ArgumentNullException | dib is null. |