SaveAttachment

What it does

Adds attachment to the specified object.

Definition

void SaveAttachment( int sessionId, int type, int objectId, int batchId, int projectId, File file );

Parameters

Name Type Description
sessionId int The ID of the connection to the Application Server
type int

Type of attachment. Possible values

  • 9 - attachment to a document;
  • 10 - attachment to a page;
  • 11 - attachment to a batch.
objectId int The ID of the object
batchId int The ID of the batch
projectId int The ID of the project
file File Attachment file

Returned value

None.

25.05.2023 7:55:00

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.