LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

ObjectTemplate Property






Gets or sets the annotation template object.
Syntax
public virtual AnnObject ObjectTemplate {get; set;}
'Declaration
 
Public Overridable Property ObjectTemplate As AnnObject
'Usage
 
Dim instance As AnnDrawDesigner
Dim value As AnnObject
 
instance.ObjectTemplate = value
 
value = instance.ObjectTemplate
public virtual AnnObject ObjectTemplate {get; set;}
 get_ObjectTemplate();
set_ObjectTemplate(value);
public:
virtual property AnnObject^ ObjectTemplate {
   AnnObject^ get();
   void set (    AnnObject^ value);
}

Property Value

An AnnObject that acts as the template for new annotation objects drawn by this AnnDrawDesigner.
Remarks
The AnnDrawDesigner will call the AnnObject.Clone method of this ObjectTemplate when it is ready to add a new object to the container. You should set this value with drawing attributes (pen, brush, font, etc) desired for new objects to be drawn with this AnnDrawDesigner.
Example
For an example, refer to AnnDesigner.
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

AnnDrawDesigner Class
AnnDrawDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

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