ImageGear .NET v25.2 - Updated
Width Property (ImGearDoubleRectangle)




ImageGear.Core Assembly > ImageGear.Core Namespace > ImGearDoubleRectangle Structure : Width Property
Gets the width of the rectangle.
Syntax
'Declaration
 
Public ReadOnly Property Width As Double
'Usage
 
Dim instance As ImGearDoubleRectangle
Dim value As Double
 
value = instance.Width
public double Width {get;}
public: __property double get_Width();
public:
property double Width {
   double get();
}

Property Value

Any double precision number.
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

Reference

ImGearDoubleRectangle Structure
ImGearDoubleRectangle Members

Is this page helpful?
Yes No
Thanks for your feedback.