[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.BitmapRenderer.DrawBitmap

DrawBitmap Method

DrawBitmap(GcBitmap, RectangleF, float)

Draws a Bitmap at the specified location and with the specified size.

Declaration
public void DrawBitmap(GcBitmap bitmap, RectangleF rect, float opacity = 1)
Public Sub DrawBitmap(bitmap As GcBitmap, rect As RectangleF, Optional opacity As Single = 1)
Parameters
Type Name Description
GcBitmap bitmap

The Bitmap to draw.

RectangleF rect

Specifies the location and size of the drawn image.

float opacity

The opacity [0, 1] of the source bitmap, to multiply to the source bitmap's alpha channel.