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)
|
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
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
See Also