Skip to main content
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.

Syntax

C++

HRESULT SaveToFile( BSTR Path );

C#

void SaveToFile( string Path);

Visual Basic .NET

Sub SaveToFile(Path As String)

Parameters

Path [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

PDFAttachment