ImageGear for .NET
Resize Method
See Also  Send Feedback
ImageGear21.Windows.Controls.Art Assembly > ImageGear.Windows.Controls Namespace > ImGearAnnotatorRectangleController Class : Resize Method




mark
The mark being resized.
point
The new position of the point (in image pixels).
markControllerData
The mark controller data.

Glossary Item Box

Method that is called when the mouse is used to resize a mark.

Syntax

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

Parameters

mark
The mark being resized.
point
The new position of the point (in image pixels).
markControllerData
The mark controller data.

Remarks

The UpdateBounds method must be overridden to enable resizing a custom mark using the mouse. If the UpdateBounds method is overriden, then by default this method resizes the mark based on the point parameter and the markControllerData. For example, if the IsHoldingCtrl and IsHoldingShift properties of markControllerData are true, the aspect ratio and a fixed center point will be maintained when resizing the mark.

See Also

©2013. Accusoft Corporation. All Rights Reserved.