• Overview
  • How it works
  • Documentation
  • Blog
  • Forum
Search Results for

    Show / Hide Table of Contents

    DrawImage Method

    DrawImage(Image, Point)

    Draws the specified Image, using its original size, at the specified location.

    Declaration
    public void DrawImage(Image image, Point origin)
    Parameters
    Type Name Description
    Image image

    Image to draw.

    Point origin

    Point structure that represents the upper-left corner of the drawn image.

    DrawImage(Image, Rect)

    Draws an image into the region defined by the specified Rect.

    Declaration
    public void DrawImage(Image image, Rect destinationRect)
    Parameters
    Type Name Description
    Image image

    Image to draw.

    Rect destinationRect

    The region in which to draw image.

    DrawImage(Image, Rect, Rect)

    Draws the specified portion of the image into the region defined by the specified Rect.

    Declaration
    public void DrawImage(Image image, Rect destinationRect, Rect sourceRect)
    Parameters
    Type Name Description
    Image image

    Image to draw.

    Rect destinationRect

    The region in which to draw image.

    Rect sourceRect

    Rect structure that specifies the portion of the image object to draw.

    In This Article
    Back to top Documentation Licensing Info Copyright AlterNET Software