LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

ObjectTemplate Property

Show in webframe





Gets or sets the annotation template object. This is a dependency property.
Syntax
public AnnObject ObjectTemplate {get; set;}
'Declaration
 
Public Property ObjectTemplate As AnnObject
'Usage
 
Dim instance As AnnDrawDesigner
Dim value As AnnObject
 
instance.ObjectTemplate = value
 
value = instance.ObjectTemplate

            

            
public:
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 (stroke, fill, text, etc) desired for new objects to be drawn with this AnnDrawDesigner.
Example

For C#/VB examples, 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.