C# Class VertexCommands_CS.CustomVertexCommands

Inheritance: BaseTool, ICommandSubType
Afficher le fichier Open project: Esri/arcobjects-sdk-community-samples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CustomVertexCommands ( ) : System
Résultat System

GetCount() public méthode

Returns the number of subtyped commands
public GetCount ( ) : int
Résultat int

OnClick() public méthode

public OnClick ( ) : void
Résultat void

OnCreate() public méthode

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

OnMouseUp() public méthode

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
Résultat void

SetSubType() public méthode

Sets the sub-type
public SetSubType ( int SubType ) : void
SubType int
Résultat void