FreeImage.SetResolutionX Method

FreeImage.NET

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
ExceptionCondition
ArgumentNullExceptiondib is null.
See Also