Visual Basic (Declaration) | |
---|---|
Public Const RectangleObjectId As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim value As Integer value = AnnAutomationManager.RectangleObjectId |
C# | |
---|---|
public const int RectangleObjectId |
C++/CLI | |
---|---|
public: const int RectangleObjectId |
Assign this value to the AnnAutomationObject.Id when creating the AnnAutomationObject for the AnnRectangleObject. 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 the UserObjectId first and then add 1 to this value for each new user object.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)