跳轉到主要內容
此方法在用戶端實作。當使用者在 Zoom Viewer 中,或在與 Zoom Viewer 同步的 Image 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 函式的標準回傳值

備註

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

另請參見

IZoomViewerEvents