SaveToMemory Method of the PDFAttachment Object

This method saves the attached file into the global memory. The method returns an HGLOBAL handle of the memory area allocated for the object as the Handle object. This object manages memory allocation and releases resources when they are no longer in use.

The method 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 SaveToMemory( IHandle** Result );
    

C#

IHandle SaveToMemory();
    

Visual Basic .NET

Function SaveToMemory() As IHandle
    

Parameters

Result
[out, retval] A pointer to IHandle* pointer variable that receives interface pointer of the resulting Handle object.

Return values

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

Remarks

This method does not work if the Engine object is created using the OutprocLoader object.

See also

PDFAttachment

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.