跳轉到主要內容
此方法可依元件的型別存取名片欄位中的單一元件。若沒有指定型別的元件,此方法會回傳 null。

語法

C++

HRESULT FindComponent(
   BusinessCardFieldComponentTypeEnum Type,
   IBusinessCardFieldComponent**      Result
);

C#

IBusinessCardFieldComponent FindComponent( BusinessCardFieldComponentTypeEnum Type );

Visual Basic .NET

Function FindComponent(Type As BusinessCardFieldComponentTypeEnum) As IBusinessCardFieldComponent

參數

Type [in] 指定元件的型別。可用元件的型別取決於目前欄位的型別。若指定的元件型別不適用於目前欄位,則會發生錯誤。如需詳細資訊,請參閱 BusinessCardFieldComponentTypeEnum 常數的說明。 Result [out, retval] 指向 IBusinessCardFieldComponent* 指標變數的指標,該變數會接收輸出 BusinessCardFieldComponent 物件的介面指標。如果沒有指定型別的元件,則會傳回 NULL。

回傳值

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

另請參閱

BusinessCardField 名片辨識 Properties 的使用