C# Class VertexCommands_CS.CustomVertexCommands

Inheritance: BaseTool, ICommandSubType
Mostra file Open project: Esri/arcobjects-sdk-community-samples

Public Methods

Method Description
CustomVertexCommands ( ) : System
GetCount ( ) : int

Returns the number of subtyped commands

OnClick ( ) : void
OnCreate ( object hook ) : void

Occurs when this tool is created

OnMouseUp ( int Button, int Shift, int X, int Y ) : void

The mouse up performs the action appropriate for each sub-typed command: insert vertex, add vertex or delete vertex

SetSubType ( int SubType ) : void

Sets the sub-type

Private Methods

Method Description
ArcGISCategoryRegistration ( Type registerType ) : void

Required method for ArcGIS Component Category registration - Do not modify the contents of this method with the code editor.

ArcGISCategoryUnregistration ( Type registerType ) : void

Required method for ArcGIS Component Category unregistration - Do not modify the contents of this method with the code editor.

RegisterFunction ( Type registerType ) : void
UnregisterFunction ( Type registerType ) : void

Method Details

CustomVertexCommands() public method

public CustomVertexCommands ( ) : System
return System

GetCount() public method

Returns the number of subtyped commands
public GetCount ( ) : int
return int

OnClick() public method

public OnClick ( ) : void
return void

OnCreate() public method

Occurs when this tool is created
public OnCreate ( object hook ) : void
hook object Instance of the application
return void

OnMouseUp() public method

The mouse up performs the action appropriate for each sub-typed command: insert vertex, add vertex or delete vertex
public OnMouseUp ( int Button, int Shift, int X, int Y ) : void
Button int
Shift int
X int The X screen coordinate of the clicked location
Y int The Y screen coordinate of the clicked location
return void

SetSubType() public method

Sets the sub-type
public SetSubType ( int SubType ) : void
SubType int
return void