DAGetPageBox
직접 액세스 기능, 페이지 속성
설명
지정한 페이지 경계 사각형의 한 치수를 반환합니다
반환값은 페이지 왼쪽 아래 모서리에서 측정한 포인트입니다
구문
Delphi
Function TPDFlib.DAGetPageBox(FileHandle, PageRef, BoxIndex, Dimension: Integer): Double;
ActiveX
Function PDFlib::DAGetPageBox(FileHandle As Long, PageRef As Long, BoxIndex As Long, Dimension As Long) As Double
DLL
double DLDAGetPageBox(int InstanceID, int FileHandle, int PageRef, int BoxIndex, int Dimension);
매개변수
| FileHandle | DAOpenFile, DAOpenFileReadOnly 또는 DAOpenFromStream 함수가 반환한 핸들 |
|---|---|
| PageRef | DAFindPage 또는 DANewPage 함수가 반환한 페이지 참조 |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
| Dimension | 0 = 왼쪽, 1 = 위, 2 = 너비, 3 = 높이, 4 = 오른쪽, 5 = 아래 int BoxIndex, int Dimension) |