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 > AnnTextEditDesigner Class : MeasureOverride Method



constraint
An upper Size limit that should not be exceeded.
constraint
An upper Size limit that should not be exceeded.
Overrides FrameworkElement.MeasureOverride.

Syntax

Visual Basic (Declaration) 
Overrides Protected Function MeasureOverride( _
   ByVal constraint As Size _
) As Size
Visual Basic (Usage)Copy Code
Dim instance As AnnTextEditDesigner
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
An upper Size limit that should not be exceeded.

Return Value

The Size that represents the desired size of the container.

Remarks

For more information, refer to FrameworkElement.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.