Difference between revisions of "API Objects properties constants"

From NakedMarkets
Jump to navigation Jump to search
(Created page with "=== Summary === The Object type constants are used in graphical objects functions to set the property of the object <br> === Definition === {| class=wikitable cellpadding="10...")
 
Line 8: Line 8:
! Constant name !! Value || Type
! Constant name !! Value || Type
|-
|-
| '''OBJPROP_TIME1''' || Datetime value to set/get first coordinate time part (X-Axis) || DateTime
| '''OBJPROP_TIME1''' || Datetime value to set/get first coordinate time part (X1) || [https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-7.0 DateTime]
|-
|-
| '''OBJPROP_PRICE1''' || Double value to set/get first coordinate price part (Y-Axis) || Double
| '''OBJPROP_PRICE1''' || Double value to set/get first coordinate price part (Y1) || [https://learn.microsoft.com/en-us/dotnet/api/system.double?view=net-7.0 Double]
|-
|-
| '''OBJPROP_TIME2''' || Datetime value to set/get second coordinate time part (X-Axis) || DateTime
| '''OBJPROP_TIME2''' || Datetime value to set/get second coordinate time part (X2) || [https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-7.0 DateTime]
|-
|-
| '''OBJPROP_PRICE2''' || Trend Line
| '''OBJPROP_PRICE2''' || Double value to set/get second coordinate price part (Y2) || [https://learn.microsoft.com/en-us/dotnet/api/system.double?view=net-7.0 Double]
|-
|-
| '''OBJPROP_TIME3''' || Fibonacci Retracement
| '''OBJPROP_TIME3''' || Datetime value to set/get third coordinate time part (X3) || [https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-7.0 DateTime]
|-
|-
| '''OBJPROP_PRICE3''' || Text
| '''OBJPROP_PRICE3''' || Double value to set/get third coordinate price part (Y3) || [https://learn.microsoft.com/en-us/dotnet/api/system.double?view=net-7.0 Double]
|-
|-
| '''OBJPROP_COLOR''' || Label
| '''OBJPROP_COLOR''' || Color value to set/get object color || [https://learn.microsoft.com/en-us/dotnet/api/system.drawing.color?view=net-7.0 Color]
|-
|-
| '''OBJPROP_STYLE''' || Rectangle
| '''OBJPROP_STYLE''' || Rectangle

Revision as of 03:13, 5 January 2023

Summary

The Object type constants are used in graphical objects functions to set the property of the object

Definition

Constant name Value Type
OBJPROP_TIME1 Datetime value to set/get first coordinate time part (X1) DateTime
OBJPROP_PRICE1 Double value to set/get first coordinate price part (Y1) Double
OBJPROP_TIME2 Datetime value to set/get second coordinate time part (X2) DateTime
OBJPROP_PRICE2 Double value to set/get second coordinate price part (Y2) Double
OBJPROP_TIME3 Datetime value to set/get third coordinate time part (X3) DateTime
OBJPROP_PRICE3 Double value to set/get third coordinate price part (Y3) Double
OBJPROP_COLOR Color value to set/get object color Color
OBJPROP_STYLE Rectangle
OBJPROP_WIDTH Ellipse
OBJPROP_FIBOLEVELS Triangle
OBJPROP_LEVELCOLOR Thumbs up
OBJPROP_LEVELSTYLE Thumbs down
OBJPROP_LEVELWIDTH Arrow Up
OBJPROP_FONTSIZE Arrow down

Examples