Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : DefaultCurrentObjectId Property |
public virtual int DefaultCurrentObjectId {get; set;}
'Declaration
Public Overridable Property DefaultCurrentObjectId As Integer
public virtual int DefaultCurrentObjectId {get; set;}
public int getDefaultCurrentObjectId() public void setDefaultCurrentObjectId(int id)
<br/>get_DefaultCurrentObjectId();<br/>set_DefaultCurrentObjectId(value);<br/>Object.defineProperty('DefaultCurrentObjectId');
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.