Image Object

Namespace: RightEdge.Common.ChartObjects
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
[SerializableAttribute]
public class ChartImage : ChartObjectBase
Visual Basic
<SerializableAttribute>
Public Class ChartImage
	Inherits ChartObjectBase
Visual C++
[SerializableAttribute]
public ref class ChartImage : public ChartObjectBase
F#
[<SerializableAttribute>]
type ChartImage =  
    class
        inherit ChartObjectBase
    end

Remarks

Draws a image on the chart.

Examples

Create an image on the chart programmatically (C#)
 Copy imageCopy
// Setup our X coordinates.
DateTime point = DateTime.Now.AddDays(-10);

// Create the image object.
ChartImage image = new ChartImage(new ChartPoint(point, 25.00), "GreenArrowUp.png");

// Add this object to the chart.  "symbol" would equal the current symbol object in the system.
ChartObjects.Add(symbol, image);

Inheritance Hierarchy

System..::..Object
  RightEdge.Common.ChartObjects..::..ChartObjectBase
    RightEdge.Common.ChartObjects..::..ChartImage

See Also