[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.Resize

Resize Method

Resize(int, int, ResizeQuality)

Creates a new GcSkiaBitmap containing a resized copy of the current image.

Declaration
public GcSkiaBitmap Resize(int targetWidth, int targetHeight, ResizeQuality resizeQuality = ResizeQuality.Medium)
Public Function Resize(targetWidth As Integer, targetHeight As Integer, Optional resizeQuality As ResizeQuality = ResizeQuality.Medium) As GcSkiaBitmap
Parameters
Type Name Description
int targetWidth

The width of the resized image, in pixels.

int targetHeight

The height of the resized image, in pixels.

ResizeQuality resizeQuality

The resizing filter quality.

Returns
Type Description
GcSkiaBitmap

The new GcSkiaBitmap containing the resized image.