ImageGear .NET v24.12 - Updated
UpdateBounds Method (ImGearAnnotatorRectangleController)




ImageGear24.Windows.Controls.Art Assembly > ImageGear.Windows.Controls Namespace > ImGearAnnotatorRectangleController Class : UpdateBounds Method
The mark to update.
The resized rectangle.
Updates the bounds of the mark.
Syntax
'Declaration
 
Public Overridable Sub UpdateBounds( _
   ByVal mark As ImGearARTMark, _
   ByVal rect As IImGearRectangle _
) 
'Usage
 
Dim instance As ImGearAnnotatorRectangleController
Dim mark As ImGearARTMark
Dim rect As IImGearRectangle
 
instance.UpdateBounds(mark, rect)
public virtual void UpdateBounds( 
   ImGearARTMark mark,
   IImGearRectangle rect
)
public: virtual void UpdateBounds( 
   ImGearARTMark* mark,
   IImGearRectangle* rect
) 
public:
virtual void UpdateBounds( 
   ImGearARTMark^ mark,
   IImGearRectangle^ rect
) 

Parameters

mark
The mark to update.
rect
The resized rectangle.
Remarks
This method must be overridden to enable resizing a custom mark using the mouse. In this method you can update the location and size properties of your custom mark by getting those values from the rect parameter.
See Also

Reference

ImGearAnnotatorRectangleController Class
ImGearAnnotatorRectangleController Members