Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
MeasureOverride Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnObjectBase Class : MeasureOverride Method



constraint
A maximum Size to not exceed
constraint
A maximum Size to not exceed
Measures an AnnObjectBase during the first layout pass prior to arranging it.

Syntax

Visual Basic (Declaration) 
Overrides Protected Function MeasureOverride( _
   ByVal constraint As Size _
) As Size
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
Dim constraint As Size
Dim value As Size
 
value = instance.MeasureOverride(constraint)
C# 
protected override Size MeasureOverride( 
   Size constraint
)
C++/CLI 
protected:
Size MeasureOverride( 
   Size constraint
) override 

Parameters

constraint
A maximum Size to not exceed

Return Value

The size that this AnnObjectBase determines it needs during layout, based on its calculations of child objects sizes(if any).

Remarks

For more information refer to MeasureOverride

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

MeasureOverride requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.