LEADTOOLS WinRT (Leadtools.Annotations.Automation)
LEAD Technologies, Inc

ObjectTemplate Property


Gets or sets the initial annotation object template of this AnnAutomationObject. WinRT support
Syntax
public virtual AnnObject ObjectTemplate {get; set;}
 get_ObjectTemplate();
set_ObjectTemplate(value);

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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnAutomationObject Class
AnnAutomationObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.