objectTemplate Property

Summary

Gets or sets the initial annotation object template of this AnnAutomationObject.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnAutomationObject.prototype, 'objectTemplate', 
	get: function(), 
	set: function(value) 
) 
objectTemplate: AnnObject; 

Property Value

The initial annotation object template of this AnnAutomationObject. The default value is null.

Remarks

The automation framework will use AnnObject.Clone to create new instances of the annotation object whenever the framework is instructed to draw a new object of this type. You should set the default properties (stroke, fill, font, etc.) of the object here. You should set this property to a valid object, the only automation object that has this value set to null is AnnObject.SelectObjectId.

Example

For an example, refer to AnnAutomationManager.

Requirements

Target Platforms

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

Leadtools.Annotations.Automation Assembly