Sets the resolution for this FreeImageBitmap.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public void SetResolution(
	float xDpi,
	float yDpi
)
Visual Basic (Declaration)
Public Sub SetResolution ( _
	xDpi As Single, _
	yDpi As Single _
)
Visual C++
public:
void SetResolution(
	float xDpi, 
	float yDpi
)

Parameters

xDpi
Type: System..::.Single
The horizontal resolution, in dots per inch, of this FreeImageBitmap.
yDpi
Type: System..::.Single
The vertical resolution, in dots per inch, of this FreeImageBitmap.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also