IWebSiteGraphicsResizeBitmap Method |
Returns a new bitmap with the dimensions specified. The entire bitmap is filled with the
background and then the original bitmap is drawn into the centre. If the aspect ratio of
the original image is different to that of the new image then the ResizeMode indicates how
to deal with it.
Namespace: VirtualRadar.Interface.WebSiteAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax Bitmap ResizeBitmap(
Bitmap original,
int width,
int height,
ResizeImageMode mode,
Brush zoomBackground,
bool preferSpeedOverQuality
)
Function ResizeBitmap (
original As Bitmap,
width As Integer,
height As Integer,
mode As ResizeImageMode,
zoomBackground As Brush,
preferSpeedOverQuality As Boolean
) As Bitmap
Bitmap^ ResizeBitmap(
Bitmap^ original,
int width,
int height,
ResizeImageMode mode,
Brush^ zoomBackground,
bool preferSpeedOverQuality
)
abstract ResizeBitmap :
original : Bitmap *
width : int *
height : int *
mode : ResizeImageMode *
zoomBackground : Brush *
preferSpeedOverQuality : bool -> Bitmap
Parameters
- original
- Type: System.DrawingBitmap
- width
- Type: SystemInt32
- height
- Type: SystemInt32
- mode
- Type: VirtualRadar.Interface.WebSiteResizeImageMode
- zoomBackground
- Type: System.DrawingBrush
- preferSpeedOverQuality
- Type: SystemBoolean
Return Value
Type:
BitmapSee Also