TX Sheet Control

LicenseErrorCode Type

Interface

Why a license was rejected, with the same codes in JavaScript, TypeScript and .NET.

Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Syntax

type LicenseErrorCode = 'LicenseMissing' | 'LicenseMalformed' | 'LicenseSignatureInvalid' | 'LicenseProductNotCovered' | 'LicenseVersionNotCovered' | 'LicenseUnknownKey' | 'LicenseUnsupportedFormat' | 'LicenseNotReady' | 'TrialNotStarted' | 'TrialExpired';

Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

import type { LicenseErrorCode } from '@txtextcontrol/tx-sheet-control-server';

const value: LicenseErrorCode = 'LicenseMissing';
console.log(value);

Remarks

TX Sheet Control checks a license in a fixed order, and the first check that fails gives the code: LicenseMissing and LicenseUnsupportedFormat for the text, LicenseMalformed for its characters and contents, LicenseSignatureInvalid for the signature, LicenseProductNotCovered for the component, LicenseVersionNotCovered for the major version, and TrialNotStarted and TrialExpired for the trial period. A license issued by the Text Control Account never fails with LicenseUnknownKey, and LicenseNotReady is a state of the control's own initialization. Licensing says what each code means and what to do.

See Also