EvVLayoutConfig Interface
The EvVLayoutConfig TS interface specifies a blueprint of a JS object that configures pages automatically added to a document in Vertical Layout mode.
Properties
An EvVLayoutConfig object has the following properties:
optional footer: EvLayoutHeaderFooter;An
EvLayoutHeaderFooterobject, the footer of an added page.optional header: EvLayoutHeaderFooter;An
EvLayoutHeaderFooterobject, the header of an added page.optional pageHeight: number;A number, the height of an added page in 2D length unit of measure global for the entire evCreate API.
The page height includes the heights of the header, footer, contained object items, and vertical spacing between them.
If a single object item is higher than the page, the height of that page will grow to accommodate that object item.
If
pageHeightis not given or set to0, the page will grow to fit the content until a new page is added explicitly with theAddPage(name?: string, title?: string): Promise<EvItem>function.optional pageWidth: number;A number, the width of an added page in 2D length unit of measure global for the entire evCreate API.
If an object item is wider than the page, parts of that object item will go outside the page.
If
pageWidthis not given or set to0, the page width will be set to the width of the Letter Portrait page size.