The ObjectTemplate Property supports WPF/Silverlight.
The ObjectTemplate Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the annotation template object. This is a dependency property.Supported in Silverlight, Windows Phone 7| Visual Basic (Declaration) | |
|---|---|
Public Property ObjectTemplate As AnnObject | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As AnnDrawDesigner Dim value As AnnObject instance.ObjectTemplate = value value = instance.ObjectTemplate | |
| C# | |
|---|---|
public AnnObject ObjectTemplate {get; set;} | |
| C++/CLI | |
|---|---|
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.For C#/VB examples, refer to AnnDesigner.
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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Copy Code