ArcObjects Library Reference (Display)  

IRubberBand.TrackNew Method

Call in response to mouse down event to rubberband a new shape on the specified screen.

[Visual Basic .NET]
Public Function TrackNew ( _
    ByVal ScreenDisplay As IScreenDisplay, _
    ByVal Symbol As ISymbol _
) As IGeometry
public IGeometry TrackNew (
    IScreenDisplay ScreenDisplay,
    ISymbol Symbol
  IScreenDisplay* ScreenDisplay,
  ISymbol* Symbol,
  IGeometry** Geometry


ScreenDisplay [in]

  ScreenDisplay is a parameter of type IScreenDisplay

Symbol [in]

  Symbol is a parameter of type ISymbol

Geometry [out, retval]

  Geometry is a parameter of type IGeometry

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRubberBand Interface

.NET Snippets

Draw Rectangle | Draw Polygon | Draw Polyline | Get Polyline From Mouse Clicks

.NET Samples

Custom UI elements using add-ins (Code Files: AddGraphicsTool) | Create a custom tool (Code Files: DrawGraphicLine)

.NET Related Topics

Create a custom tool