Rescales this FreeImageBitmap to the specified size using the
specified filter initializing a new instance.
Namespace:
FreeImageAPIAssembly: 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.