←Select platform

ObjectTemplate Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
public virtual Leadtools.Annotations.Core.AnnObject ObjectTemplate {get; set;}
Public Overridable Property ObjectTemplate As Leadtools.Annotations.Core.AnnObject
public virtual Leadtools.Annotations.Core.AnnObject ObjectTemplate {get; set;}
@property (nonatomic,retain) LTAnnObject* objectTemplate;
public AnnObject getObjectTemplate() 
public void setObjectTemplate(AnnObject object) 
get_ObjectTemplate(); 
set_ObjectTemplate(value); 
Object.defineProperty('ObjectTemplate'); 

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

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Automation Assembly
Click or drag to resize