| Visual Basic (Declaration) | |
|---|---|
Function Measure( _ ByVal context As LayoutContext _ ) As LayoutResult | |
| C# | |
|---|---|
LayoutResult Measure( LayoutContext context ) | |
Parameters
- context
- LayoutContext specifying information about layout operations
Return Value
T:LayoutResult indicating outcome of this operation
Current implementation of layout subsystem assumes that this method will return actual extents
encapsulated into LayoutResult. Nevertheless, it may be sufficient to return only approximate
partial size (low end approximation) as long as the layout manager knows that the item (content being measured)
will exceed current page dimensions (ITargetDevice for more details) for the current target
device and a complete accurate measurement of the item is expensive.