[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Export.LayoutEngineExtensions.Layout

Layout Method

Layout(ILayoutEngine, IReport, ITextMetricsProvider, TargetDeviceKind, InteractivityType, bool, bool)

Creates a report layout using the specified layout engine.

Declaration
public static IReportLayout Layout(this ILayoutEngine engine, IReport report, ITextMetricsProvider textMetricsProvider, TargetDeviceKind targetDevice, InteractivityType interactivity, bool paginated = true, bool pro = true)
Parameters
Type Name Description
ILayoutEngine engine

The layout engine to use.

IReport report

The report to layout.

ITextMetricsProvider textMetricsProvider

The text metrics provider to use for layout calculations.

TargetDeviceKind targetDevice

The target device kind for which the layout is being created.

InteractivityType interactivity

The type of interactivity for the layout.

bool paginated

Indicates whether the layout should be paginated. Default is true.

bool pro

Indicates whether the layout should use professional features. Default is true.

Returns
Type Description
IReportLayout

An IReportLayout object representing the layout of the report.