LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
MeasureOverride Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnContainer Class : MeasureOverride Method



constraint
An upper System.Windows.Size limit that cannot be exceeded.
constraint
An upper System.Windows.Size limit that cannot be exceeded.
Measures the child elements of an AnnContainer before they are arranged during the base class Canvas.ArrangeOverride pass.

Syntax

Visual Basic (Declaration) 
Overrides Protected Function MeasureOverride( _
   ByVal constraint As Size _
) As Size
Visual Basic (Usage)Copy Code
Dim instance As AnnContainer
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 System.Windows.Size limit that cannot be exceeded.

Return Value

The System.Windows.Size that represents the upper size limit of the element.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

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.