FreeImage.NET Class Library Reference
FreeImageSetResolutionX Method |
Sets 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)
Syntax
C#
public static void SetResolutionX( FIBITMAP dib, uint res )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - res
- Type: SystemUInt32
The new resolution in 'dots per inch'.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | dib is null. |
See Also