Share via


DrawImage Method (Bitmap, Int32, Int32, Int32, Int32, Int32, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Displays a cropped, bitmapped image on the drawing surface.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub DrawImage ( _
    source As Bitmap, _
    destinationX As Integer, _
    destinationY As Integer, _
    sourceX As Integer, _
    sourceY As Integer, _
    sourceWidth As Integer, _
    sourceHeight As Integer _
)
public void DrawImage(
    Bitmap source,
    int destinationX,
    int destinationY,
    int sourceX,
    int sourceY,
    int sourceWidth,
    int sourceHeight
)
public:
void DrawImage(
    Bitmap^ source, 
    int destinationX, 
    int destinationY, 
    int sourceX, 
    int sourceY, 
    int sourceWidth, 
    int sourceHeight
)
member DrawImage : 
        source:Bitmap * 
        destinationX:int * 
        destinationY:int * 
        sourceX:int * 
        sourceY:int * 
        sourceWidth:int * 
        sourceHeight:int -> unit 
public function DrawImage(
    source : Bitmap, 
    destinationX : int, 
    destinationY : int, 
    sourceX : int, 
    sourceY : int, 
    sourceWidth : int, 
    sourceHeight : int
)

Parameters

  • destinationX
    Type: System. . :: . .Int32
    The horizontal coordinate at which the leftmost edge of the cropped image is to be placed.
  • destinationY
    Type: System. . :: . .Int32
    The vertical coordinate at which the topmost edge of the the cropped image is to be placed.
  • sourceX
    Type: System. . :: . .Int32
    The horizontal coordinate that is to become the leftmost edge of the cropped image.
  • sourceY
    Type: System. . :: . .Int32
    The vertical coordinate that is to become the topmost edge of the cropped image.

.NET Framework Security

See Also

Reference

DrawingContext Class

DrawImage Overload

Microsoft.SPOT.Presentation.Media Namespace