[]
        
(Showing Draft Content)

Core.PageReport

Class: PageReport

Core.PageReport

PageReport class

Table of contents

Constructors

Accessors

Methods

Constructors

constructor

new PageReport(options?)

Create new instance of PageReport class.

Parameters

Name Type Description
options? Partial<{ i18n: i18n ; language: string }> pageReport options - language: report language. Default language is 'en'.

Defined in

node_modules/@grapecity/ar-js-pagereport/lib/ar-js-core.d.ts:379

Accessors

name

get name(): string

Gets the report name.

Returns

string

Defined in

node_modules/@grapecity/ar-js-pagereport/lib/ar-js-core.d.ts:384


parameters

get parameters(): ReportParameters

Gets the report parameters collection.

Returns

ReportParameters

Defined in

node_modules/@grapecity/ar-js-pagereport/lib/ar-js-core.d.ts:386


resourceLocator

get resourceLocator(): ResourceLocator

Gets the report resource locator instance.

Returns

ResourceLocator

Defined in

node_modules/@grapecity/ar-js-pagereport/lib/ar-js-core.d.ts:388


LicenseKey

Static get LicenseKey(): string

deprecated Use setLicenseKey method instead.

Returns

string

Defined in

node_modules/@grapecity/ar-js-pagereport/lib/ar-js-core.d.ts:390

Static set LicenseKey(value): void

deprecated Use setLicenseKey method instead.

Parameters

Name Type
value string

Returns

void

Defined in

node_modules/@grapecity/ar-js-pagereport/lib/ar-js-core.d.ts:391

Methods

load

load(report, options?): Promise<void>

Loads the report template.

Parameters

Name Type Description
report string | Report URI or the report template or template object.
options? Object Execution time settings.
options.environment? Environment -
options.resourceLocator? Partial<ResourceLocator> -

Returns

Promise<void>

Defined in

node_modules/@grapecity/ar-js-pagereport/lib/ar-js-core.d.ts:399


run

run(): Promise<PageDocument>

Starts rendering the report.

Returns

Promise<PageDocument>

Defined in

node_modules/@grapecity/ar-js-pagereport/lib/ar-js-core.d.ts:417


validateParameters

validateParameters(): ValidationResults

Validates the parameter values.

Returns

ValidationResults

Validation result.

Defined in

node_modules/@grapecity/ar-js-pagereport/lib/ar-js-core.d.ts:406