C# Class ToolAndControlSampleCS.FontToolControl

Afficher le fichier Open project: Esri/arcobjects-sdk-community-samples

Private Properties

Свойство Type Description
ArcGISCategoryRegistration void
ArcGISCategoryUnregistration void
DeleteObject bool
ICommand void
ICommand void
IToolControl bool
IToolControl void
InitializeComponent void
OnDocumentSession void
RegisterFunction void
SetUpDocumentEvent void
UnregisterFunction void
cboFont_DrawItem void
cboFont_DropDownClosed void
cboFont_SelectedValueChanged void

Méthodes publiques

Méthode Description
FontToolControl ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

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.

DeleteObject ( IntPtr hObject ) : bool
ICommand ( ) : void
ICommand ( object hook ) : void
IToolControl ( esriCmdBarType barType ) : bool
IToolControl ( ICompletionNotify complete ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnDocumentSession ( ) : void
RegisterFunction ( Type registerType ) : void
SetUpDocumentEvent ( IDocument myDocument ) : void
UnregisterFunction ( Type registerType ) : void
cboFont_DrawItem ( object sender, DrawItemEventArgs e ) : void

Custom drawing when item is selected in the drop down to render the actual font

cboFont_DropDownClosed ( object sender, EventArgs e ) : void
cboFont_SelectedValueChanged ( object sender, EventArgs e ) : void

Optional, wire the cboFont's SelectedValueChanged event if you want to use this tool control to set the default text font of the document

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

FontToolControl() public méthode

public FontToolControl ( ) : System
Résultat System