ReplacePageImage

操作

ページ画像を置き換えます。

重要!追加された画像は、画像が前処理された後にのみアクセス可能になります。ProcessBatch方法を使用して画像を追加した後でバッチ処理を始めるか、CloseTask方法を使用してタスクを閉じ、画像がOpenTask方法で開いたタスクの文書に追加された場合にImport段階でこれを送信します。

定義

void ReplacePageImage( int sessionId, int batchId, int documentId, int pageId, File file );

パラメータ

名前 記述
sessionId int アプリケーションサーバーへの接続のID
batchId int 文書を含むバッチのID
documentId int ページ画像を置き換える文書のID
pageId int 画像を置き換えるページのID
file File 画像のファイル

注:POSTリクエストを使用してページ画像を追加することもできます。この方法を呼び出し、以下のパラメータを指定して、POSTリクエストを実行します。

  • Action = Save
  • objectType = 0
  • objectId = documentId
  • version = 0
  • streamName = "Page pageId"、ここでは、pageIdは画像を置き換えるページのID

戻り値

なし。

25.05.2023 7:55:10

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.