DAEmbedFileStreams

ドキュメント操作、直接アクセス機能

説明

データが外部ファイルに保存されているストリームオブジェクトを、通常の埋め込みストリームオブジェクトに変換します

構文

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, const wchar_t* RootPath);
int DLDAEmbedFileStreamsA(int InstanceID, int FileHandle, const char* RootPath);

パラメータ

FileHandleDAOpenFile、DAOpenFileReadOnly または DAOpenFromStream 関数により返されるハンドル
RootPath相対パスのルートとして使用するディレクトリ

戻り値

外部ファイルストリームを変換できた場合は1を返します。FileHandleが無効な場合は0を返します。