[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Extensibility.Layout.LayoutContext.-ctor

LayoutContext Constructor

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

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

Declaration
public LayoutContext(ITextMetricsProvider metricsProvider, IContentRange contentRange, LayoutDirection direction, SizeF availableSize, SizeF reportItemSize = default)
Parameters
Type Name Description
ITextMetricsProvider metricsProvider

An object that provides text metrics for the report item.

IContentRange contentRange

A ContentRange object containing information about the range of the underlying content to include in the current layout operation.

LayoutDirection direction

An enumerated LayoutDirection value indicating the direction in which the layout for the report item runs.

SizeF availableSize

A SizeF structure containing the width and height of the rectangle within which the report item is laid out.

SizeF reportItemSize

A SizeF structure containing the width and height of the report item.