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 = Left 1 = Top 2 = Width 3 = Height 4 = Right 5 = Bottom int BoxIndex, int Dimension); |