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