[]
Draw image/bitmap with content alignment.
public void DrawImage(Image image, RectangleF rc)
Type | Name | Description |
---|---|---|
Image | image | The drawing image/bitmap. |
RectangleF | rc | The drawing rectangle. |
Draw image/bitmap with content alignment.
public void DrawImage(Image image, RectangleF rcImage, RectangleF rcClip)
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. |
Draws the specified GrapeCity.Documents.Drawing.Image object at the specified location,
adjusting the image size as specified by the align
and
mode
parameters.
public void DrawImage(Image img, RectangleF rc, ContentAlignment align, ImageSizeMode mode)
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. |