LEADTOOLS Annotations (Leadtools.Annotations assembly)

ObjectTemplate Property

Show in webframe





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

See Also

Reference

AnnDrawDesigner Class
AnnDrawDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.