Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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