ActiveReports 11
Measure Method (ILayoutManager)

GrapeCity.ActiveReports.Extensibility.v11 Assembly > GrapeCity.ActiveReports.Extensibility.Layout Namespace > ILayoutManager Interface : Measure Method
LayoutContext specifying information about layout operations
A query by the layout system of what the results of a call to Layout would be with the specified settings.
Syntax
'Declaration
 
Function Measure( _
   ByVal context As LayoutContext _
) As LayoutResult

Parameters

context
LayoutContext specifying information about layout operations

Return Value

LayoutResult indicating outcome of this operation
Remarks
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.
See Also

Reference

ILayoutManager Interface
ILayoutManager Members