Gets the bounds of this FreeImageBitmap in the specified unit.

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

Syntax

C#
public RectangleF GetBounds(
	ref GraphicsUnit pageUnit
)
Visual Basic (Declaration)
Public Function GetBounds ( _
	ByRef pageUnit As GraphicsUnit _
) As RectangleF
Visual C++
public:
RectangleF GetBounds(
	GraphicsUnit% pageUnit
)

Parameters

pageUnit
Type: System.Drawing..::.GraphicsUnit %
One of the GraphicsUnit values indicating the unit of measure for the bounding rectangle.

Return Value

The RectangleF that represents the bounds of this FreeImageBitmap, in the specified unit.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also