setAttribute Method

Summary

Sets the Attribute for a given key from this Attributes collection.

Syntax

TypeScript
    setAttribute(key: string, attr: Attribute): void; 

Parameters

key

The string key for the Attribute to set.

attr

The Attribute assigned to the given key.

Remarks

This would be used to update the existing Attribute with the new one provided.

Requirements

Target Platforms

See Also

Attributes Object

Attributes 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.