Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomationObject Class : ObjectTemplate Property |
public virtual AnnObject ObjectTemplate {get; set;}
'Declaration
Public Overridable Property ObjectTemplate As AnnObject
public virtual AnnObject ObjectTemplate {get; set;}
@property (nonatomic,retain) LTAnnObject* objectTemplate;
public AnnObject getObjectTemplate() public void setObjectTemplate(AnnObject object)
<br/>get_ObjectTemplate();<br/>set_ObjectTemplate(value);<br/>Object.defineProperty('ObjectTemplate');
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.
For an example, refer to FindObjectById.