Cone8
 ( 4.98% )
- ago
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)
6
834
0 Replies

Reply

Bookmark

Sort
Currently there are no replies yet. Please check back later.