[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Extensibility.Layout.LayoutContext

LayoutContext Struct

Encapsulates information about layout operations for the report item to provide input for the ILayoutManager interface.

Namespace: GrapeCity.ActiveReports.Extensibility.Layout
Assembly: MESCIUS.ActiveReports.Core.Rendering.dll
Syntax
public struct LayoutContext

Constructors

Name Description
LayoutContext(ITextMetricsProvider, IContentRange, LayoutDirection, SizeF, SizeF)

Initializes a new instance of the LayoutContext structure with the specified values.

Properties

Name Description
AvailableSize

Indicates the maximum size that the report item can occupy in the current operation.

ContentRange

Specifies the logical end of the ContentRange object to pick up where a prior layout operation left off.

HorizontalLayout

Specifies whether the context is for a horizontal layout run.

LayoutDirection

Indicates whether the current page layout runs horizontally, vertically, neither, or both.

MetricsProvider

Gets metrics provider.

ReportItemSize

Indicates the size of the report item. If the element is in a table, tablix or matrix, then it is equal to the cell size.

VerticalLayout

Specifies whether the context is for a vertical layout run.

Methods

Name Description
AdjustFromResult(LayoutResult)

Returns a new LayoutContext corresponding to the specified LayoutResult.

Extension Methods