Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

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

$
0
0
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

Code:

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.

Attachment 22622

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

Attachment 22623

Are there anyone know how to do that ?

Thank you very much !
Attached Thumbnails
Click image for larger version

Name:	image1.PNG‎
Views:	N/A
Size:	3.6 KB
ID:	22622   Click image for larger version

Name:	image2.PNG‎
Views:	N/A
Size:	4.6 KB
ID:	22623  

Viewing all articles
Browse latest Browse all 1374

Trending Articles