registerKey Method

Summary

Registers the specified key to use the specified validator.

Syntax

TypeScript
    registerKey(key: string, validator: AttrKeyValidator): void; 

Parameters

key

The key to register.

validator

The validator object.

Note: To pass a null validator, pass { validator: null } instead.

Remarks

This would be used to register keys to be used by specific Piece objects.

Requirements

Target Platforms

See Also

PieceManager Object

PieceManager Members

Leadtools.Document.Editor Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Editor Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.