Nice esoteric solution by Eugene here -
/Discussion/Images-Icons-to-use-with-DrawImage-5712
Like Eugene, I first thought about specifying a Wingding font like we used to do for this in v6.9. But, given the solution above, let's put it in a wrapper and add an Enum overload for DrawBarAnnotation to make it elegant and easy.
enum TextShape { TriangleUp, TriangleDown, TriangleUpHollow, TriangleDownHollow, Square, etc. }
public void DrawBarAnnotation(string text, int bar, bool aboveBar, Color color, int fontSize)
public void DrawBarAnnotation(TextShape ts, int bar, bool aboveBar, Color color, int fontSize)
/Discussion/Images-Icons-to-use-with-DrawImage-5712
Like Eugene, I first thought about specifying a Wingding font like we used to do for this in v6.9. But, given the solution above, let's put it in a wrapper and add an Enum overload for DrawBarAnnotation to make it elegant and easy.
enum TextShape { TriangleUp, TriangleDown, TriangleUpHollow, TriangleDownHollow, Square, etc. }
public void DrawBarAnnotation(string text, int bar, bool aboveBar, Color color, int fontSize)
public void DrawBarAnnotation(TextShape ts, int bar, bool aboveBar, Color color, int fontSize)
Rename
Currently there are no replies yet. Please check back later.
Your Response
Post
Edit Post
Login is required