| Visual Basic (Declaration) | |
|---|---|
Public Property ObjectTemplate As AnnObjectBase | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public AnnObjectBase ObjectTemplate {get; set;} | |
| C++/CLI | |
|---|---|
public: property AnnObjectBase^ ObjectTemplate { AnnObjectBase^ get(); void set (AnnObjectBase^ value); } | |
| XAML Syntax | |
|---|---|
| For XAML information, see the Leadtools.Windows.Annotations.AnnObjectBase type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | None |
| XAML Syntax | |
|---|---|
| For XAML information, see the Leadtools.Windows.Annotations.AnnObjectBase type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | None |
Return Value
An AnnObjectBase 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 AnnObjectBase.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: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
Copy Code