TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
double ObjectGet ( string  name,
int  prop_id 
)

Returns the value of the specified object property

Parameters
nameObject name
prop_idObject property index. It can be any of the following values:
OBJPROP_TIME1datetimeDatetime value to set/get first coordinate time part
OBJPROP_PRICE1doubleDouble value to set/get first coordinate price part
OBJPROP_TIME2datetimeDatetime value to set/get second coordinate time part
OBJPROP_PRICE2doubleDouble value to set/get second coordinate price part
OBJPROP_TIME3datetimeDatetime value to set/get third coordinate time part
OBJPROP_PRICE3doubleDouble value to set/get third coordinate price part
OBJPROP_COLORcolorColor value to set/get object color
OBJPROP_STYLEintValue is one of STYLE_SOLID, STYLE_DASH, STYLE_DOT, STYLE_DASHDOT, STYLE_DASHDOTDOT constants to set/get object line style
OBJPROP_WIDTHintInteger value to set/get object line width. Can be from 1 to 5
OBJPROP_BACKboolBoolean value to set/get background drawing flag for object
OBJPROP_RAYboolBoolean value to set/get ray flag of object.
OBJPROP_ELLIPSEboolBoolean value to set/get ellipse flag for fibo arcs
OBJPROP_SCALEdoubleDouble value to set/get scale object property
OBJPROP_ANGLEdoubleDouble value to set/get angle object property in degrees
OBJPROP_ARROWCODEintInteger value or arrow enumeration to set/get arrow code object property
OBJPROP_TIMEFRAMESintValue can be one or combination (bitwise addition) of object visibility constants to set/get timeframe object property
OBJPROP_DEVIATIONdoubleDouble value to set/get deviation property for Standard deviation objects
OBJPROP_FONTSIZEintInteger value to set/get font size for text objects
OBJPROP_CORNERintInteger value to set/get anchor corner property for label objects. Must be from 0-3.
OBJPROP_XDISTANCEintInteger value to set/get anchor X distance object property in pixels (see note)
OBJPROP_YDISTANCEintInteger value is to set/get anchor Y distance object property in pixels (see note)
OBJPROP_FIBOLEVELSintInteger value to set/get Fibonacci object level count. Can be from 0 to 32
OBJPROP_LEVELCOLORcolorColor value to set/get object level line color
OBJPROP_LEVELSTYLEintValue is one of STYLE_SOLID, STYLE_DASH, STYLE_DOT, STYLE_DASHDOT, STYLE_DASHDOTDOT constants to set/get object level line style
OBJPROP_LEVELWIDTHintInteger value to set/get object level line width. Can be from 1 to 5
OBJPROP_FIRSTLEVEL+nintInteger value to set/get the value of Fibonacci object level with index n. Index n can be from 0 (number of levels -1), but not larger than 31
Returns
Value of the specified object property. To check errors, one has to call the GetLastError() function.