API / geotoolkit / report / view / exports / PageComponent / PageComponent
exports.PageComponent.PageComponent
Header/Footer Component that print the title, date or page information
↳
PageComponent
Constructors
Constructors
• new PageComponent(documentElement, options?)
PageElement.constructor
Methods
▸ getClassName(): string
string
▸ getDate(): Date
get date
Date
date
▸ getDefaultSize(): Dimension
get the defaultSize of the component
dimension
▸ getMaximumSize(): Dimension
get the maximum size of the component
dimension
▸ getTitle(): string
Get title
string
title
▸ isElementVisible(): isVisiblePageElementCallback
Get function to check element visibility. The default implementation returns null and standard rule is used
function to check
▸ render(context, pageInfo?, pageContext?): void
| Name | Type | Description |
|---|---|---|
context | DocumentRenderingContext | PdfRenderingContext |
Optional pageInfo | PageInfo | JSON Object |
Optional pageContext | PageContext | page context |
void
▸ Static getClassName(): string
string