GetQuads(Int32, Span) Method

Definition

Assembly Broadside.Viewer.dll

Gets the quads to highlight on a page, in its default user space (GetPageTransform(in Viewport, Int32) maps them to the viewport).

public int GetQuads(int pageIndex, Span<Quad> destination)

Parameters

pageIndex
Int32

The zero-based page.

destination
Span<Quad>

Receives as many quads as fit.

Returns

Int32
The number of quads the page needs (0 when nothing on it is selected or its text is not loaded).

Remarks

ISO 32000-2 §9.4.4. Allocates nothing.