'Declaration
Public Function DrawGdPictureImageRectOnGraphics( _ ByVal ImageID As Integer, _ ByVal g As Graphics, _ 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 DrawGdPictureImageRectOnGraphics( int ImageID, Graphics g, float DstLeft, float DstTop, float DstWidth, float DstHeight, float SrcLeft, float SrcTop, float SrcWidth, float SrcHeight, InterpolationMode InterpolationMode )
public function DrawGdPictureImageRectOnGraphics( ImageID: Integer; g: Graphics; DstLeft: Single; DstTop: Single; DstWidth: Single; DstHeight: Single; SrcLeft: Single; SrcTop: Single; SrcWidth: Single; SrcHeight: Single; InterpolationMode: InterpolationMode ): GdPictureStatus;
public function DrawGdPictureImageRectOnGraphics( ImageID : int, g : Graphics, DstLeft : float, DstTop : float, DstWidth : float, DstHeight : float, SrcLeft : float, SrcTop : float, SrcWidth : float, SrcHeight : float, InterpolationMode : InterpolationMode ) : GdPictureStatus;
Parameters
- ImageID
- GdPicture image identifier. Image to draw.
- g
- Graphics destination.
- DstLeft
- Left pixel destination of the graphics.
- DstTop
- Top pixel destination of the graphics.
- DstWidth
- Width, in pixel, of the drawn image.
- DstHeight
- Height, in pixel, of the drawn image.
- SrcLeft
- Left pixel source of the image to draw.
- SrcTop
- Top pixel source of the image to draw.
- SrcWidth
- Width portion, in pixel, of the image to draw.
- SrcHeight
- Height portion, in pixel, of the image to draw.
- InterpolationMode
- A member of the Drawing2D.InterPolationMode enumeration.
Return Value
A member of the GdPictureStatus enumeration.