[]
        
(Showing Draft Content)

C1.Util.SvgRendering.DrawImage

DrawImage Method

DrawImage(object, double, double, double, double)

Draw image using special source.

Declaration
public void DrawImage(object source, double x, double y, double w, double h)
Parameters
Type Name Description
object source

The source of image.

double x

X-coordinate of image.

double y

Y-coordinate of image.

double w

Rendering width.

double h

Rendering height.

Implements

DrawImage(Image, RectangleF)

Draw image/bitmap with content alignment.

Declaration
[CLSCompliant(false)]
public void DrawImage(Image image, RectangleF rc)
Parameters
Type Name Description
Image image

The drawing image/bitmap.

RectangleF rc

The drawing rectangle in pixels.

DrawImage(Image, RectangleF, RectangleF)

Draw image/bitmap with content alignment.

Declaration
[CLSCompliant(false)]
public void DrawImage(Image image, RectangleF rc, RectangleF rcClip)
Parameters
Type Name Description
Image image

The drawing image/bitmap.

RectangleF rc

The drawing rectangle in pixels.

RectangleF rcClip

The drawing clip for image/bitmap rectangle in pixels.