Click or drag to resize

IMcGraphObjRRectGetSize Method

Returns the delta width and height of the object.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Sub GetSize ( 
	ByRef Width As Single,
	ByRef Height As Single
)

Parameters

Width
Type: SystemSingle
Returned right-left width in image coordinates. May be negative or zero.
Height
Type: SystemSingle
Returned bottom-top height in image coordinates. May be negative or zero.

Implements

IMcGraphObjRectGetSize(Single, Single)
Remarks
The width and height "sizes" returned by this method are the differences between the un-normalized left,right and bottom,top of the un-rotated rectangle. The returned values are not pixel counts. Thus a rectangle with Handle 1 at left,top 0,0 and Handle 5 at right,bottom 10,10 will report an X,Y size of 10,10 rather than the X,Y pixel count (11,11). Note that the returned X,Y delta size may be fractional and will be negative if the rectangle is drawn such that Handle 1 (the Postion) is to the right and down from Handle 5 (the opposite corner).
See Also