Connecting Handles with text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm currently working on a project where I want to associate a text mark with a drawn polyline. I don't know how to do that. It's maybe better to describe what I want VBA code to do. I want to draw a polyline, mark it with text, and export that to excel. So I assume, when adding new polyline with text, I should find if the new polyline has text attached, and if not - Add a text mark. If there is already text associated with that text mark, it means it is not a new polyline. Pseudocode goes something like:
-Draw polyline
-Add a text mark or a number to that polyline (posslibly in center of polyline- Centroid?)
-Export to excell table
- Draw new polyline, mark with next text mark.
Text marks aren't defined, it can be X1,X2,X3, or simple numbers 1,2,3,... etc
For every new drawn object, assign next text mark in ascending order.
Currently I have a code that is just adding text for every ployline drawn, and if I add a new polyline, the code just adds two text marks on old polyline and one on new. Code basicaly gets every polyline object (every single time) and adds a text for that object.