Adds a new rectangle annotation to the end of the collection.
Syntax
Parameters
- name
- Name of the annotation. Use an empty string to automatically assign a unique name.
- x
- X coordinate of the annotation.
- y
- Y coordinate of the annotation.
- width
- Width of the annotation.
- height
- Height of the annotation.
Return Value
Index of the added object.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also