DAEmbedFileStreams

Document manipulation, Direct access functionality

Description

Converts any stream object where the data is stored in an external file into a regular embedded stream object.

Syntax

Delphi

function TPDFlib.DAEmbedFileStreams(FileHandle: Integer; Const RootPath: WideString): Integer;

ActiveX

Function PDFlib::DAEmbedFileStreams(FileHandle As Long, RootPath As String) As Long

DLL

int DLDAEmbedFileStreams(int InstanceID, int FileHandle, wchar_t * RootPath);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
RootPathThe directory to use as the root for relative paths.