Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / DrawFilledRectangleOP Method
GdPicture image identifier.
Specifies the x-coordinate of the upper-left corner of the rectangle.
Specifies the y-coordinate of the upper-left corner of the rectangle.
Specifies the width of the rectangle.
Specifies the height of the rectangle.
Color of the filled rectangle. A suitable color value can be obtained by using the ARGB() method.
A member of the Operators enumeration.





In This Topic
    DrawFilledRectangleOP Method
    In This Topic
    Draws a filled rectangle on a GdPicture image using an operator of combination.
    Syntax
    'Declaration
     
    
    Public Function DrawFilledRectangleOP( _
       ByVal ImageID As Integer, _
       ByVal DstLeft As Integer, _
       ByVal DstTop As Integer, _
       ByVal DstWidth As Integer, _
       ByVal DstHeight As Integer, _
       ByVal FillColor As Color, _
       ByVal OP As Operators _
    ) As GdPictureStatus
    public GdPictureStatus DrawFilledRectangleOP( 
       int ImageID,
       int DstLeft,
       int DstTop,
       int DstWidth,
       int DstHeight,
       Color FillColor,
       Operators OP
    )
    public function DrawFilledRectangleOP( 
        ImageID: Integer;
        DstLeft: Integer;
        DstTop: Integer;
        DstWidth: Integer;
        DstHeight: Integer;
        FillColor: Color;
        OP: Operators
    ): GdPictureStatus; 
    public function DrawFilledRectangleOP( 
       ImageID : int,
       DstLeft : int,
       DstTop : int,
       DstWidth : int,
       DstHeight : int,
       FillColor : Color,
       OP : Operators
    ) : GdPictureStatus;
    public: GdPictureStatus DrawFilledRectangleOP( 
       int ImageID,
       int DstLeft,
       int DstTop,
       int DstWidth,
       int DstHeight,
       Color FillColor,
       Operators OP
    ) 
    public:
    GdPictureStatus DrawFilledRectangleOP( 
       int ImageID,
       int DstLeft,
       int DstTop,
       int DstWidth,
       int DstHeight,
       Color FillColor,
       Operators OP
    ) 

    Parameters

    ImageID
    GdPicture image identifier.
    DstLeft
    Specifies the x-coordinate of the upper-left corner of the rectangle.
    DstTop
    Specifies the y-coordinate of the upper-left corner of the rectangle.
    DstWidth
    Specifies the width of the rectangle.
    DstHeight
    Specifies the height of the rectangle.
    FillColor
    Color of the filled rectangle. A suitable color value can be obtained by using the ARGB() method.
    OP
    A member of the Operators enumeration.

    Return Value

    A member of the GdPictureStatus enumeration.
    See Also