ImageGear Professional for Windows ActiveX
Width Property

Description:

Gets and sets the width of the rectangle.

The Width property assumes 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 property should not be used.

Property Type:

Read-write property

Return Type:

Double

Default Value: 0

Valid Values: Any

Bits Per Pixel:

N/A

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback