'Declaration Public Function Resize( _ ByVal targetPixelWidth As System.Integer, _ ByVal targetPixelHeight As System.Integer, _ Optional ByVal interpolationMode As InterpolationMode, _ Optional ByVal clipRect As System.Nullable(Of Rectangle) _ ) As GcBitmap
public GcBitmap Resize( System.int targetPixelWidth, System.int targetPixelHeight, InterpolationMode interpolationMode, System.Nullable<Rectangle> clipRect )
Parameters
- targetPixelWidth
- The width of the resized image, in pixels.
- targetPixelHeight
- The height of the resized image, in pixels.
- interpolationMode
- The interpolation mode to use when scaling.
- clipRect
- Clipping rectangle specifying the area of the source image to be processed.
Return Value
A new GcBitmap with resized image.