DAMovePage

직접 접근 기능, 페이지 조작

설명

페이지를 문서의 새 위치로 이동합니다

구문

Delphi

Function TPDFlib.DAMovePage(FileHandle, PageRef, TargetPageRef, Options: Integer): Integer;

ActiveX

Function PDFlib::DAMovePage(FileHandle As Long, PageRef As Long, TargetPageRef As Long, Options As Long) As Long

DLL

int DLDAMovePage(int InstanceID, int FileHandle, int PageRef, int TargetPageRef, int Options);

매개변수

FileHandleDAOpenFile, DAOpenFileReadOnly 또는 DAOpenFromStream 함수가 반환한 핸들
PageRefDAFindPage 또는 DANewPage 함수가 반환한 페이지 참조입니다. 이동할 페이지를 나타냄
TargetPageRefDAFindPage 또는 DANewPage 함수가 반환한 페이지 참조입니다. 이 페이지 앞이나 뒤로 이동합니다. 0 = 대상 페이지 앞, 1 = 대상 페이지 뒤
Options

반환 값

0페이지를 이동할 수 없습니다. FileHandle, PageRef 및 TargetPageRef 값이 올바른지 확인하십시오
1페이지가 성공적으로 이동되었습니다