←Select platform

DefaultCurrentObjectId Property

Summary
The annotations object ID to use when a draw designer finishes its operation.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual int DefaultCurrentObjectId { get; set; } 
@property (nonatomic, assign) NSInteger defaultCurrentObjectId; 
public int getDefaultCurrentObjectId() 
public void setDefaultCurrentObjectId(int id) 
public:  
   virtual property Int32 DefaultCurrentObjectId 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 
DefaultCurrentObjectId # get and set (AnnAutomation) 

Property Value

The annotations object id to use when a draw designer finishes its operation. The default value is SelectObjectId.

Remarks

When a draw designer finishes its work, the CurrentObjectId value will be set back to the value of DefaultCurrentObjectId. The default value is SelectObjectId meaning the select annotation object will be used. If you wish to continue drawing the same (or any other object), then set the value of DefaultCurrentObjectId to the ID of the desired object.

Requirements

Target Platforms

Help Version 22.0.2023.4.25
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.