How to change end-of-line shape
I am currently using the below code to create a line and change the end shape to a huge tickmark.
However, it appears to change the end of the line tickmark. The beginning is determined by the default
style selected. The LineEndingStart is not part of this class.
Is there a better way to control end of line objects?
line=ovl.Add("McGraphObjLine")
line.SetHandle(1,sL, sT+(dbROIH/2))
line.SetHandle(2,sR, sT+(dbROIH/2))line.LineEnding=MediaCy.IQL.Display.Overlays.mcGraphObjLineEnding.mcgleHugetickmark
0
Best Answer
-
You can use:line.LineEnding(mcGraphObjWhichEnd.mcgweBoth)=mcGraphObjLineEnding.mcgleHugetickmark0
Categories
- All Categories
- 961 Image-Pro v9 and higher
- 9 Image-Pro FAQs
- 18 Image-Pro Download & Install
- 448 Image-Pro General Discussions
- 486 Image-Pro Automation (Macros, Apps, Reports)
- 20 AutoQuant Deconvolution
- 2 AutoQuant Download & Install
- 18 AutoQuant General Discussions
- 195 Image-Pro Plus v7 and lower
- 3 Image-Pro Plus Download & Install
- 106 Image-Pro Plus General Discussions
- 86 Image-Pro Plus Automation with Macros
- 19 Legacy Products
- 16 Image-Pro Premier 3D General Discussions
- 26 Image-Pro Insight General Discussions