The ObjectTemplate Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the annotation template object.Visual Basic (Declaration) | |
---|---|
Public Overridable 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 virtual AnnObject ObjectTemplate {get; set;} |
C++/CLI | |
---|---|
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.For an example, 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 (pen, brush, font, etc) desired for new objects to be drawn with this AnnDrawDesigner.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7