ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearRectangle Structure / Height Property




In This Topic
    Height Property (ImGearRectangle)
    In This Topic
    Gets the height of the rectangle.
    Syntax
    'Declaration
     
    Public ReadOnly Property Height As Integer
    'Usage
     
    Dim instance As ImGearRectangle
    Dim value As Integer
     
    value = instance.Height
    public int Height {get;}
    public: __property int get_Height();
    public:
    property int Height {
       int get();
    }

    Property Value

    Any integer value.
    Remarks
    Note:

    The Height and Width properties assume that the rectangle is being used with the endpoint-inclusive semantics. Using endpoint-inclusive semantics, a rectangle with left, top, right, and bottom coordinates all equal to 0 is one pixel wide and one pixel tall. So, for example, the Width property is calculated as Right - Left + 1. Sometimes rectangles are used with endpoint-exclusive semantics, in which the width of the rectangle should be calculated as Right - Left. In this case, the Width and Height properties should not be used.

    See Also