DAHasPageBox

직접 액세스 기능, 페이지 속성

설명

페이지에 특정 페이지 경계 사각형이 있는지 확인합니다

구문

Delphi

Function TPDFlib.DAHasPageBox(FileHandle, PageRef, BoxIndex: Integer): Integer;

ActiveX

Function PDFlib::DAHasPageBox(FileHandle As Long, PageRef As Long, BoxIndex As Long) As Long

DLL

int DLDAHasPageBox(int InstanceID, int FileHandle, int PageRef, int BoxIndex);

매개변수

FileHandleDAOpenFile, DAOpenFileReadOnly 또는 DAOpenFromStream 함수가 반환한 핸들
PageRefDAFindPage 또는 DANewPage 함수가 반환한 페이지 참조
BoxIndex1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox

반환 값

0페이지에 지정한 페이지 경계 사각형이 없습니다. 페이지에 지정한 페이지 경계 사각형이 있습니다
1