Using ESRI.ArcGIS.Display.ITemplate to draw cutom lines ?

1209
1
03-14-2013 06:34 PM
by Anonymous User
Not applicable
Original User: taibc

Hi everyone,

I am using  ESRI.ArcGIS.Display.ITemplate to draw custom lines such as dot/dash lines on a map control.

Then, I used below codes

ESRI.ArcGIS.Display.ITemplate templateCls = new ESRI.ArcGIS.Display.TemplateClass();
templateCls.Interval = 1;
templateCls.AddPatternElement(1, 3);


The below image 1 will show the result for this.

[ATTACH=CONFIG]22622[/ATTACH]

But, I am want to the line include round elements (not rectangle) as the below image 2.

[ATTACH=CONFIG]22623[/ATTACH]

Are there anyone know how to do that ?

Thank you very much !
0 Kudos
1 Reply
by Anonymous User
Not applicable
Original User: taibc

Hi, I can do that now. But, I have another question.

Are there anyone know how to use ICartographicLineSymbol and ITemplate to draw below line:

[ATTACH=CONFIG]22626[/ATTACH]

Thanks and regards,

Tai
0 Kudos