ImageGear for .NET
Width Property
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearRectangle Structure : Width Property




Glossary Item Box

Gets the width of the rectangle.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Property Value

Any integer value.

Remarks

Note:

The Height and Width properties assume that the rectangle is being used with 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

©2013. Accusoft Corporation. All Rights Reserved.