←Select platform

ObjectTemplate Property

Summary

Gets or sets the annotation template object.

Syntax

C#
VB
C++
public virtual AnnObject ObjectTemplate { get; set; } 
  
Public Overridable Property ObjectTemplate As Leadtools.Annotations.AnnObject 
public: 
virtual property Leadtools.Annotations.AnnObject^ ObjectTemplate { 
   Leadtools.Annotations.AnnObject^ get(); 
   void set (    Leadtools.Annotations.AnnObject^ ); 
} 

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 (pen, brush, font, etc) desired for new objects to be drawn with this AnnDrawDesigner.

Example

For an example, refer to AnnDesigner.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly