Drempel,
I could not see the text symbol on the map. Could you please give me all lines of codes regarding ISimpleTextSymbol textSymbol = new TextSymbolClass()?
My codes are:
IGraphicTrackerSymbol gtSymbol = graphicTracker.CreateSymbol( GetTextSymbol() as ISymbol, null );
public ITextSymbol GetTextSymbol()
{
ISimpleTextSymbol m_textSymbol = new TextSymbolClass() as ISimpleTextSymbol;
m_textSymbol.Font = ToFontDisp( new System.Drawing.Font( "Tahoma", 10.0f, FontStyle.Bold ) );
m_textSymbol.Size = 10;
m_textSymbol.Color = ( IColor )ToRGBColor( Color.FromArgb( 255, 0, 0 ) );
m_textSymbol.Text = "ABCE 123";
return m_textSymbol;
}
Please point out the problem if you could.
Thanks,
Wilson Jiang