Select to view content in your preferred language

How do you display the distance value on a custom measure tool?

2470
2
Jump to solution
02-28-2012 10:54 AM
GenaroGarcia
New Contributor III
My custom Window Mobile 10 application has a measure tool to measure distances which worked in ArcGIS Mobile 9.3.1.
I up graded my application to ArcGIS Mobile 10 which the object to display the distance is obsolete.

e.Display.DrawText(ddistance.ToString(format) + " " + m_spatialunit.ToString() + total, m_font, New SolidBrush(Color.FromArgb(m_transparency, m_fontColor)), c, ESRI.ArcGIS.Mobile.TextAlignment.TopCenter)

I haven't been able to find a replacement.
Any help is appreciated.
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable
Original User: Genaro Garcia

My solution was to create a window form with two labels that displays the current segment length and a running total length of the previous segment length(s).  One would have to close the form by pressing an "Exit" button.

View solution in original post

0 Kudos
2 Replies
DavidMarley
Occasional Contributor II
I have exact same issue.  Did you ever find an answer?
0 Kudos
by Anonymous User
Not applicable
Original User: Genaro Garcia

My solution was to create a window form with two labels that displays the current segment length and a running total length of the previous segment length(s).  One would have to close the form by pressing an "Exit" button.
0 Kudos