Message 1 of 15
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to append text to my profile view label, which has been just created. I have found text override example on the internet which also works in my case, however I don't want to override my label text completely, I just want to append additional text before by label value. What should I do different? Thanks!
Here is a clip from my code:
ProfileViewDepthLabel.Create(PV.ObjectId, IdLabelStyle, pt1, pt2)
Dim lastEntity As ObjectId = Autodesk.AutoCAD.Internal.Utils.EntLast()
Dim DPLabel As ProfileViewDepthLabel = tr.GetObject(lastEntity, OpenMode.ForWrite)
DPLabel.SetTextComponentOverride(DPLabel.GetTextComponentIds(0), "Override", Autodesk.Civil.TextJustificationType.Left)
Solved! Go to Solution.