addBand()

ICE Data Services -

addBand()

 

addBand( dValue, nStyle, nThickness, Color, TagName )

 

  • dValue:  y-axis value to place the band
  • nStyle:  the pen style to draw with
  • nThickness:  thickness of the line (in pixels)
  • Color:   a RGB color value
  • TagName:  A unique identifier  

 

This function will draw a horizontal line at the value specified in the dValue parameter.

 

Example:

 

addBand( 80.0, PS_SOLID, 1, Color.red, 90000 );

 

Pen Styles

Colors