FreeImage.NET Class Library Reference
FreeImageBitmapGetScaledInstance Method (Size, FREE_IMAGE_FILTER) |
Rescales this FreeImageBitmap to the specified size using the
specified filter initializing a new instance.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public FreeImageBitmap GetScaledInstance( Size newSize, FREE_IMAGE_FILTER filter )
Parameters
- newSize
- Type: System.DrawingSize
The Size structure that represent the size of the new FreeImageBitmap. - filter
- Type: FreeImageAPIFREE_IMAGE_FILTER
Filter to use for resizing.
Return Value
Type: FreeImageBitmapThe rescaled instance.
See Also