HOW TO
Code:
'------ Start Script
theView = av.GetActiveDoc
theTheme = theView.GetActiveThemes.Get(0)
theFtab = theTheme.GetFtab
theBitmap = theFtab.GetSelection
for each item in theBitMap
'--- Get the annotation object from the record number using the ReturnValue
'--- request with the record number and the shape field.
theAnnotationObject = theFtab.ReturnValue(theFtab.FindField("Shape"),item)
'--- Display the text
MsgBox.Inf(theAnnotationObject.GetText,"")
end
'------ End Of Script
Get help from ArcGIS experts
Download the Esri Support App