Polyline sending problem

1577
3
12-13-2013 06:08 AM
AysberqTundra
Occasional Contributor
Hello everyone.

I want to send a polyline (which is result of some process) to another application using internet.

I think, I must convert this polyline a collection of points, then send this collection to the second application and convert this collection to the original polyline in second application.

Or any other idea for solving this problem?

Can I solve this problem using arcobjects sdk?

Please help me
0 Kudos
3 Replies
BrentHoskisson
Occasional Contributor III
IPolyline also implements IPersistStream.  So if you are running it on the point collection, you might as well save a step on both ends and run it directly on the polyline.

Good Luck
0 Kudos
DuncanHornby
MVP Notable Contributor
If you intend to send your geometry over the internet I thought it was some recognized format like JSON? I've never done this but have a look at the interface IJSONConverterGeometry�???
0 Kudos
AysberqTundra
Occasional Contributor
Thanks for answers.
I will try these methods and I will inform you about result.
0 Kudos