- ABBYY FineReader Engine 的用户实现一个支持 IImagePasswordCallback 接口的对象。对于 C++,该对象应从此接口派生并实现其 raw_GetPassword 方法。该对象还应实现 IUnknown 接口的方法。
- 然后,用户将指向该对象接口的指针作为输入参数之一,传递给以下任一方法:IFRDocument::AddImageFileWithPasswordCallback、IEngine::GetNumberOfPagesInImageFile、IEngine::RecognizeImageFile。如有需要,ABBYY FineReader Engine 会调用该对象的 GetPassword 方法来获取密码。
方法
| 名称 | 描述 |
|---|---|
| GetPassword | 返回密码。 |
输入参数
- Engine 对象的 OpenImageFileFromMemory、RecognizeImageFile、GetNumberOfPagesInImageFile、IsPdfPortfolio、IsPdfPortfolioFromStream、IsPdfWithTextualContent、IsPdfWithTextualContentFromStream 和 InjectTextLayer 方法。
- FRDocument 对象的 AddImageFileFromAttachment 和 AddImageFileWithPasswordCallback 方法。
