GetPolyline

public class GetPolyline : IDisposable
Use to interactively get a polyline.

Constructors

GetPolyline

#Since v6.0
public GetPolyline()

Finalizer

~GetPolyline

#
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
~GetPolyline()

Properties

FirstPointPrompt

#Since v6.0
Prompt when getting first point
public string FirstPointPrompt { get; set; }

FourthPointPrompt

#Since v6.0
Prompt when getting fourth point
public string FourthPointPrompt { get; set; }

MaxPointCount

#Since v6.0
public int MaxPointCount { get; set; }

MinPointCount

#Since v6.0
public int MinPointCount { get; set; }

SecondPointPrompt

#Since v6.0
Prompt when getting second point
public string SecondPointPrompt { get; set; }

ThirdPointPrompt

#Since v6.0
Prompt when getting third point
public string ThirdPointPrompt { get; set; }

Methods

Dispose

#Since v6.0
Actively reclaims unmanaged resources that this instance uses.
public void Dispose()

Dispose

#
For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

protected virtual void Dispose(
disposing
true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer.
)

Get

#Since v6.0
Perform the 'get' operation.
public Result Get(
polyline
)

SetFirstPoint

#Since v6.0
Use SetFirstPoint to specify the line's starting point and skip the start point interactive picking
public void SetFirstPoint(
point
)