What it does

Adds attachment to the specified object.


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


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


12.04.2024 18:16:02

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.