'Declaration
Public Function DrawGdPictureImageRect( _ ByVal SrcImage As Integer, _ ByVal DstImage As Integer, _ ByVal DstLeft As Single, _ ByVal DstTop As Single, _ ByVal DstWidth As Single, _ ByVal DstHeight As Single, _ ByVal SrcLeft As Single, _ ByVal SrcTop As Single, _ ByVal SrcWidth As Single, _ ByVal SrcHeight As Single, _ ByVal InterpolationMode As InterpolationMode _ ) As GdPictureStatus
public GdPictureStatus DrawGdPictureImageRect( int SrcImage, int DstImage, float DstLeft, float DstTop, float DstWidth, float DstHeight, float SrcLeft, float SrcTop, float SrcWidth, float SrcHeight, InterpolationMode InterpolationMode )
public function DrawGdPictureImageRect( SrcImage: Integer; DstImage: Integer; DstLeft: Single; DstTop: Single; DstWidth: Single; DstHeight: Single; SrcLeft: Single; SrcTop: Single; SrcWidth: Single; SrcHeight: Single; InterpolationMode: InterpolationMode ): GdPictureStatus;
public function DrawGdPictureImageRect( SrcImage : int, DstImage : int, DstLeft : float, DstTop : float, DstWidth : float, DstHeight : float, SrcLeft : float, SrcTop : float, SrcWidth : float, SrcHeight : float, InterpolationMode : InterpolationMode ) : GdPictureStatus;
Parameters
- SrcImage
- GdPicture image identifier. Specifies the image to be drawn from.
- DstImage
- GdPicture image identifier. specifies the image to draw to.
- DstLeft
- Specifies the x-coordinate, in pixel, of the upper-left corner of the destination rectangle at which to draw the image.
- DstTop
- Specifies the y-coordinate in pixels of the upper-left corner of the destination rectangle at which to draw the image.
- DstWidth
- Specifies the width, in pixels, of the destination rectangle at which to draw the image.
- DstHeight
- Specifies the height, in pixels, of the destination rectangle at which to draw the image.
- SrcLeft
- Left pixel source of the image to draw.
- SrcTop
- Top pixel source of the image to draw.
- SrcWidth
- Width portion in pixels of the image to draw.
- SrcHeight
- Height portion in pixels of the image to draw.
- InterpolationMode
- A member of the Drawing2D.InterPolationMode enumeration.
Return Value
A member of the GdPictureStatus enumeration.