←Select platform

Name Property

Summary
Gets or sets the name of this AnnAutomationObject.
Syntax
C#
Objective-C
C++/CLI
Java
public virtual string Name { get; set; } 
@property (nonatomic, copy) NSString *name; 
public String getName() 
public void setName(String name) 
public:  
   virtual property String^ Name 
   { 
      String^ get() 
      void set(String^ value) 
   } 

Property Value

A string value that represents the name of this AnnAutomationObject. The default value is null.

Remarks

This is the name of the annotation object with which this automation object is associated. This value can be used by the application to display the name of the object in the user interface.

Example
C#
using Leadtools.Annotations.Automation; 
using Leadtools.Annotations.Engine; 
using Leadtools.Codecs; 
using Leadtools.Controls; 
using Leadtools.Annotations.WinForms; 
using Leadtools.Annotations.Rendering; 
 
public void AnnAutomationManager_FindObjectById() 
{ 
	// find the line automation object 
	AnnAutomationObject obj = _automation.Manager.FindObjectById(AnnObject.LineObjectId); 
	if (obj != null) 
	{ 
		obj.ObjectTemplate.Stroke = AnnStroke.Create(AnnSolidColorBrush.Create("Blue"), LeadLengthD.Create(2)); 
	} 
} 
Requirements

Target Platforms

Help Version 22.0.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.