Exemple #1
0
 /// <summary>
 /// Starts the digitization process for a line
 /// </summary>
 /// <param name="callback">The callback to be invoked when the digitization process completes</param>
 /// <param name="customPrompt">The custom prompt to use for the tracking tooltip</param>
 public void DigitizeLine(LineDigitizationCallback callback, string customPrompt)
 {
     this.DigitizingType = MapDigitizationType.Line;
     _digitzationCallback = callback;
     _digitizationYetToStart = true;
     _lineCustomDigitizationPrompt = customPrompt;
 }
Exemple #2
0
 public void DigitizeLineString(LineStringDigitizationCallback callback, LineDigitizationCallback segmentDigitized)
 {
     DigitizeLineString(callback, segmentDigitized, null);
 }
Exemple #3
0
 private void ResetDigitzationState()
 {
     _digitzationCallback = null;
     _segmentCallback = null;
     dPath.Clear();
     dPtEnd.X = dPtStart.Y = 0;
     dPtStart.X = dPtStart.Y = 0;
     this.DigitizingType = MapDigitizationType.None;
     _circleCustomDigitizationPrompt = null;
     _lineCustomDigitizationPrompt = null;
     _lineStringCustomDigitizationPrompt = null;
     _polygonCustomDigitizationPrompt = null;
     _pointCustomDigitizationPrompt = null;
     _rectangleCustomDigitizationPrompt = null;
     Invalidate();
 }
Exemple #4
0
 public void DigitizeLine(LineDigitizationCallback callback)
 {
     DigitizeLine(callback, null);
 }