Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- source
Type: Microsoft.SPOT. . :: . .Bitmap
A Bitmap object that represents the bitmapped image to be displayed.
- 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.
- sourceWidth
Type: System. . :: . .Int32
The width of the cropped image.
- sourceHeight
Type: System. . :: . .Int32
The height of the cropped image.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.