Constructor LayoutDocument
LayoutDocument(IReadOnlyList<LayoutPage>)
Initializes a layout document.
public LayoutDocument(IReadOnlyList<LayoutPage> pages)
Parameters
pagesIReadOnlyList<LayoutPage>Pages in document order.
Exceptions
- ArgumentNullException
pagesis null.
LayoutDocument(IReadOnlyList<LayoutPage>, string?)
Initializes a layout document with a default language.
public LayoutDocument(IReadOnlyList<LayoutPage> pages, string? language)
Parameters
pagesIReadOnlyList<LayoutPage>Pages in document order.
languagestringThe document's default BCP 47 language tag, or null when none was declared. A tagged PDF needs it on the catalog: assistive technology has no other way to know which language to pronounce, and guessing from the text is not something a converter should do on the reader's behalf.
Exceptions
- ArgumentNullException
pagesis null.