Create(ReadOnlySpan, PageLayoutOptions?) Method

Definition

Assembly Broadside.Viewer.dll

Lays out pages from their metrics.

public static PageLayout Create(ReadOnlySpan<PageMetrics> pages, PageLayoutOptions? options = null)

Parameters

pages
ReadOnlySpan<PageMetrics>

The metrics of every page, in order (Index equal to the position).

options
PageLayoutOptions

The arrangement; null means defaults (continuous).

Returns

PageLayout
The layout.