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


IDigitizerButtons.Button Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

IDigitizerButtons.Button Property

Button to map on the digitizer puck.

[Visual Basic .NET]
Public Function get_Button ( _
    ByVal Button As Integer _
) As UID
[Visual Basic .NET]
Public Sub set_Button ( _
    ByVal Button As Integer, _
    ByVal cmdID As UID _
)
[C#]
public UID get_Button (
    int Button
);
[C#]
public void set_Button (
    int Button,
    UID cmdID
);

Product Availability

Available with ArcGIS Desktop.

Remarks

This property will not override the settings made in the digitizer control panel. For example, if button 0 is set to 'Left Click' in the digitizing control panel, setting button 0 to execute the FinishSketch command will not work. Make sure all the buttons you want to map are set to 'None' in the digitizer control panel.

See Also

IDigitizerButtons Interface | IDigitizerSetup.AddControlPoint Method | IDigitizerSetup.Transformation Property | IDigitizerSetup.GetControlPoint Method | IDigitizerSetup.ClearControlPoints Method | IDigitizerSetup Interface | IDigitizerSetup.ControlPointCount Property