ok I found it.
ChartAnchor Properties
<ChartAnchor>.BarsAgo
An int representing the "barsAgo" value that was passed to the DrawingTool method
<ChartAnchor>.DisplayName
A string representing name of the DrawingTool's chart anchor that is displaying on the UI
<ChartAnchor>.DrawingTool
The IDrawingTool object which created the DrawingTool's chart anchor object
<ChartAnchor>.DrawnOnBar
An int representing the CurrentBar value that the DrawingTool's chart anchor was drawn
<ChartAnchor>.IsNinjaScriptDrawn
A bool indicating the object was drawn programmatically
<ChartAnchor>.Price
A double representing the price the DrawingTool's chart anchor was drawn
<ChartAnchor>.SlotIndex
A double representing the DrawingTool's chart anchor index value the anchor was drawn
<ChartAnchor>.Time
A DateTime representing the time value the DrawingTool's chart anchor was drawn
Examples
Text myText;
protected override void OnBarUpdate()
{
if(CurrentBar == 50)
myText = Draw.Text(this, "tag", "test", 0, High[0]);
if(myText != null)
{
Print(myText.Anchor.DrawnOnBar); // drawn on bar 50
}
}