跳轉到主要內容
此方法在用戶端實作。當在 Image Viewer 中,或在與 Image Viewer 同步的 Zoom Viewer 中選取工具後,ABBYY FineReader Engine 便會呼叫此方法。若要查看選取哪些工具後會觸發此事件,請參閱 BoxEditorToolEnum 常數的說明。 此方法會將所選工具的資訊傳送給用戶端。

語法

C++

HRESULT OnSelectTool( BoxEditorToolEnum SelectedTool );

C#

void OnSelectTool( BoxEditorToolEnum SelectedTool );

Visual Basic .NET

Sub OnSelectTool(SelectedTool As BoxEditorToolEnum)

參數

SelectedTool [in] 指定選取的工具。請參閱 BoxEditorToolEnum 常數的說明。

傳回值

此方法沒有特定的傳回值。它會傳回 ABBYY FineReader Engine 函式的標準傳回值

備註

此方法的用戶端實作必須確保在方法內擲出的所有例外狀況都會被攔截並處理,且不會有任何例外狀況傳遞到方法外部。若例外狀況傳遞到方法外部,可能會導致無法預期的結果 (例如程式終止) 。

另請參閱

IImageViewerEvents