This document is archived and information here might be outdated.  Recommended version.


IRubberBand.TrackNew Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IR > IRubberBand Interface > IRubberBand.TrackNew Method
ArcGIS Developer Help

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
);
[C++]
Parameters
ScreenDisplay [in]

ScreenDisplay is a parameter of type IScreenDisplay* Symbol [in]
Symbol is a parameter of type ISymbol*

Product Availability

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

See Also

IRubberBand Interface

.NET Samples

Create a custom tool Custom UI elements using add-ins