[]
Initializes a new instance of the LayoutContext structure with the specified values.
public LayoutContext(ITextMetricsProvider metricsProvider, IContentRange contentRange, LayoutDirection direction, SizeF availableSize, SizeF reportItemSize = default)
| 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. |