[]
        
(Showing Draft Content)

C1.Util.IFlowDocument.DrawImage

DrawImage Method

DrawImage(Image, RectangleF)

Draw image/bitmap with content alignment.

Declaration
void DrawImage(Image image, RectangleF rc)
Parameters
Type Name Description
Image image

The drawing image/bitmap.

RectangleF rc

The drawing rectangle.

DrawImage(Image, RectangleF, RectangleF)

Draw image/bitmap with content alignment.

Declaration
void DrawImage(Image image, RectangleF rcImage, RectangleF rcClip)
Parameters
Type Name Description
Image image

The drawing image/bitmap.

RectangleF rcImage

The drawing image/bitmap rectangle.

RectangleF rcClip

The drawing clip for image/bitmap rectangle.

DrawImage(Image, RectangleF, ContentAlignment, ImageSizeMode)

Draws the specified GrapeCity.Documents.Drawing.Image object at the specified location, adjusting the image size as specified by the align and mode parameters.

Declaration
void DrawImage(Image img, RectangleF rc, ContentAlignment align, ImageSizeMode mode)
Parameters
Type Name Description
Image img

GrapeCity.Documents.Drawing.Image object to draw.

RectangleF rc

RectangleF structure that specifies the location of the drawn image, in points from the top left corner of the page.

ContentAlignment align

ContentAlignment value that specifies how the image should be aligned within the rectangle.

ImageSizeMode mode

ImageSizeMode value that specifies how the image should be sized to fit the rectangle.