The text annotation subfeature tool allows you to display a text annotation on a line feature having any property information to display. This tool is offered as an example of what can be done with the Bentley Map API and comes without any guarantee or support.
Note : This tool requires XFM data contained in a 2D design file and does not work with 3D features.
AddTextSubfeature - Help Document.pdf
AddTextSubfeature.zip