SaveToFile Method of the PDFAttachment Object

This method saves the attached file on disk. It does not save the contents of the PDFAttachment object, but only the attached file itself, so that you will be unable to retrieve, e.g., the attachment description or binding type from the saved data.



HRESULT SaveToFile( BSTR Path );


void SaveToFile( string Path);

Visual Basic .NET

Sub SaveToFile(Path As String)


[in] This parameter stores the full path to the file. If this file already exists, it is overwritten without prompt.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also


24.03.2023 8:51:52

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.