Click or drag to resize

IMcGraphObjRect2Square Property

A read/write boolean property used to enforce a square shape during editing of rectangles, to allow the aspect ratio to be preserved when editing bitmaps and to force "chunky" angles when editing lines.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Property Square As Boolean
	Get
	Set

Property Value

Type: Boolean

Implements

IMcGraphObjRectSquare
Remarks
For objects of type McGraphObjRect, McGraphObjRRect and McGraphObjText, the Square property forces the object to be square during creation or editing. The same effect can be achieved by the user by holding down the Shift key when moving a handle. For objects of type McGraphObjBitmap, the property has a similar effect. That is, if Square is True (or if the Shift key is held down during movement of a handle), then during editing of bitmaps, the bitmap's aspect ratio is preserved. If Square is set False, then the bitmap can be resized in a way that changes its aspect ratio. For objects of type McGraphObjLine, the property has a different effect. If Square is True (or if the Shift key is held down during movement of a handle), then during editing of lines, the line is only allowed to take on angles from the horizontal that are even multiples of 15 degrees. If Square is set False, then any angle is allowed.
See Also