GdPicture.NET Reference Guide
DrawGdPictureImageOPRect Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : DrawGdPictureImageOPRect Method
GdPicture image identifier. Specifies the image to be drawn from.
GdPicture image identifier. specifies the image to draw to.
Specifies the x-coordinate in pixels of the upper-left corner of the destination rectangle at which to draw the image.
Specifies the y-coordinate in pixels of the upper-left corner of the destination rectangle at which to draw the image.
Specifies the width, in pixels, of the destination rectangle at which to draw the image.
Specifies the height, in pixels, of the destination rectangle at which to draw the image.
Specifies the x-coordinate in pixels of the upper-left corner of the portion of the source image to be drawn.
Specifies the y-coordinate in pixels of the upper-left corner of the portion of the source image to be drawn.
Specifies the width, in pixels, of the portion of the source image to be drawn.
Specifies the height, in pixels, of the portion of the source image to be drawn.
A member of the Operators enumeration.
A member of the Drawing2D.InterPolationMode enumeration.
Draws a portion of a GdPicture image into another GdPicture image using an operator of combination.
Syntax
'Declaration
 
Public Function DrawGdPictureImageOPRect( _
   ByVal SrcImage As Integer, _
   ByVal DstImage As Integer, _
   ByVal DstLeft As Integer, _
   ByVal DstTop As Integer, _
   ByVal DstWidth As Integer, _
   ByVal DstHeight As Integer, _
   ByVal SrcLeft As Integer, _
   ByVal SrcTop As Integer, _
   ByVal SrcWidth As Integer, _
   ByVal SrcHeight As Integer, _
   ByVal Op As Operators, _
   ByVal InterpolationMode As InterpolationMode _
) As GdPictureStatus
public GdPictureStatus DrawGdPictureImageOPRect( 
   int SrcImage,
   int DstImage,
   int DstLeft,
   int DstTop,
   int DstWidth,
   int DstHeight,
   int SrcLeft,
   int SrcTop,
   int SrcWidth,
   int SrcHeight,
   Operators Op,
   InterpolationMode InterpolationMode
)
public function DrawGdPictureImageOPRect( 
    SrcImage: Integer;
    DstImage: Integer;
    DstLeft: Integer;
    DstTop: Integer;
    DstWidth: Integer;
    DstHeight: Integer;
    SrcLeft: Integer;
    SrcTop: Integer;
    SrcWidth: Integer;
    SrcHeight: Integer;
    Op: Operators;
    InterpolationMode: InterpolationMode
): GdPictureStatus; 
public function DrawGdPictureImageOPRect( 
   SrcImage : int,
   DstImage : int,
   DstLeft : int,
   DstTop : int,
   DstWidth : int,
   DstHeight : int,
   SrcLeft : int,
   SrcTop : int,
   SrcWidth : int,
   SrcHeight : int,
   Op : Operators,
   InterpolationMode : InterpolationMode
) : GdPictureStatus;
public: GdPictureStatus DrawGdPictureImageOPRect( 
   int SrcImage,
   int DstImage,
   int DstLeft,
   int DstTop,
   int DstWidth,
   int DstHeight,
   int SrcLeft,
   int SrcTop,
   int SrcWidth,
   int SrcHeight,
   Operators Op,
   InterpolationMode InterpolationMode
) 
public:
GdPictureStatus DrawGdPictureImageOPRect( 
   int SrcImage,
   int DstImage,
   int DstLeft,
   int DstTop,
   int DstWidth,
   int DstHeight,
   int SrcLeft,
   int SrcTop,
   int SrcWidth,
   int SrcHeight,
   Operators Op,
   InterpolationMode InterpolationMode
) 

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 pixels 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
Specifies the x-coordinate in pixels of the upper-left corner of the portion of the source image to be drawn.
SrcTop
Specifies the y-coordinate in pixels of the upper-left corner of the portion of the source image to be drawn.
SrcWidth
Specifies the width, in pixels, of the portion of the source image to be drawn.
SrcHeight
Specifies the height, in pixels, of the portion of the source image to be drawn.
Op
A member of the Operators enumeration.
InterpolationMode
A member of the Drawing2D.InterPolationMode enumeration.

Return Value

A member of the GdPictureStatus enumeration.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members