←Select platform

ObjectTemplate Property

Summary

Gets or sets the annotation template object. This is a dependency property.

Syntax

C#
VB
C++
public Leadtools.Windows.Annotations.AnnObject ObjectTemplate {get; set;}
Public Property ObjectTemplate As Leadtools.Windows.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 (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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize