Using Images and Geometry with Custom Icons

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Educational Resources >

Using Images and Geometry with Custom Icons

Previous page Return to chapter overview Next page

Show/Hide Hidden Text

Custom Icon Overview

When overriding the Icon method in a Share Service, Drawing Object, or Chart Style, you can use a variety of inputs to specify what will be displayed on the icon, including UniCode characters (if they exist in the icon pack for the font family used in NinjaTrader), custom Geometry Paths from the System.Windows.Shapes namespace, or image files. Using an image file for a custom icon can allow the flexibility of creating your icon's visuals outside of your code via image editing software. For more information about adding custom Icons, see the "Icon" page under the topics for each of the NinjaScript object types listed above.


tog_minus        Using an Image as an Icon

tog_minus        Using Geometry on an Icon