| Visual Basic (Declaration) | |
|---|---|
Public Shared SelectObjectId As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public static int SelectObjectId | |
| C++/CLI | |
|---|---|
public: static int SelectObjectId | |
Assign this value to the AnnAutomationObject.Id when creating the
AnnAutomationObject for the selected object.
Each automation object must have an object ID that is a unique integer value.
The AnnAutomationManager class defines the object IDs for the
default annotation objects such as LineObjectId
and RectangleObjectId. For user-defined objects,
use UserObjectId first and then add 1 to this value
for each new user object.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family