Rescales this FreeImageBitmap to the specified size using the specified filter initializing a new instance.

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

Syntax

C#
public FreeImageBitmap GetScaledInstance(
	Size newSize,
	FREE_IMAGE_FILTER filter
)
Visual Basic (Declaration)
Public Function GetScaledInstance ( _
	newSize As Size, _
	filter As FREE_IMAGE_FILTER _
) As FreeImageBitmap
Visual C++
public:
FreeImageBitmap^ GetScaledInstance(
	Size newSize, 
	FREE_IMAGE_FILTER filter
)

Parameters

newSize
Type: System.Drawing..::.Size
The Size structure that represent the size of the new FreeImageBitmap.
filter
Type: FreeImageAPI..::.FREE_IMAGE_FILTER
Filter to use for resizing.

Return Value

The rescaled instance.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also