LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

ObjectTemplate Property






Gets or sets the annotation template object. This is a dependency property. .NET support Silverlight support
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 AnnObject ObjectTemplate {get; set;}
 get_ObjectTemplate();
set_ObjectTemplate(value);
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: 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.