C# 클래스 ToolAndControlSampleCS.FontToolControl

파일 보기 프로젝트 열기: Esri/arcobjects-sdk-community-samples

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
FontToolControl ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 보호된 메소드

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

FontToolControl() 공개 메소드

public FontToolControl ( ) : System
리턴 System