ActiveReports 8
Measure Method
See Also 
GrapeCity.ActiveReports.Extensibility.v8 Assembly > GrapeCity.ActiveReports.Extensibility.Layout Namespace > ILayoutManager Interface : Measure Method

context
LayoutContext specifying information about layout operations

Glossary Item Box

A query by the layout system of what the results of a call to Layout would be with the specified settings.

Syntax

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

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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also