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
[C#]
public IGeometry TrackNew (
    IScreenDisplay ScreenDisplay,
    ISymbol Symbol
);
[C++]
HRESULT TrackNew(
  IScreenDisplay* ScreenDisplay,
  ISymbol* Symbol,
  IGeometry** Geometry
);
[C++]

Parameters

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 Polygon | Draw Rectangle | Draw Polyline | Get Polyline From Mouse Clicks |

.NET Samples

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

.NET Related Topics

Create a custom tool |