I'm using version 7.0.1.2 of TeeChart Pro ActiveX control. In one of my projects I'd like set the position, size, font, transparency and other parameters of the annotation tool from within my program. It is possible to customzie these parameters in the editor but how can I customize these parameters in my source code?
For the position I use
Code: Select all
m_myAnnotation.GetShape().SetLeft(someValue);
Code: Select all
m_myAnnotation.GetShape().SetTop(someValue);
Code: Select all
m_myAnnotation.GetShape().SetWidth(), m_myAnnotation.GetShape().SetHeight()
Code: Select all
m_myAnnotation.GetShape().SetRight(), m_myAnnotation.GetShape().SetBottom()
Thanks,
Frank.