LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetInvalidRectangle Method
See Also 
Leadtools.Annotations Namespace > AnnControlPoint Class : GetInvalidRectangle Method



centerPoint
The center point
converter
An AnnUnitConverter used to convert centerPoint to pixel coordinates.

The GetInvalidRectangle Method is available in LEADTOOLS Document and Medical Imaging toolkits.

centerPoint
The center point
converter
An AnnUnitConverter used to convert centerPoint to pixel coordinates.
Gets the physical bounding rectangle of this AnnControlPoint.

Syntax

Visual Basic (Declaration) 
Public Overridable Function GetInvalidRectangle( _
   ByVal centerPoint As AnnPoint, _
   ByVal converter As AnnUnitConverter _
) As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As AnnControlPoint
Dim centerPoint As AnnPoint
Dim converter As AnnUnitConverter
Dim value As Rectangle
 
value = instance.GetInvalidRectangle(centerPoint, converter)
C# 
public virtual Rectangle GetInvalidRectangle( 
   AnnPoint centerPoint,
   AnnUnitConverter converter
)
C++/CLI 
public:
virtual Rectangle GetInvalidRectangle( 
   AnnPoint centerPoint,
   AnnUnitConverter^ converter
) 

Parameters

centerPoint
The center point
converter
An AnnUnitConverter used to convert centerPoint to pixel coordinates.

Remarks

This rectangle can be used to calculate the invalid region needed to re-paint this control point. The annotation automation toolkit uses this value to speed up re-painting the owner control.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features