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을 반환합니다.