DAGetPageBox
Funkcionalnost direktnog pristupa, svojstva stranice
Opis
Vraća jednu dimenziju zadatog graničnog pravougaonika stranice
Vraćene vrednosti su tačke merene od donjeg levog ugla stranice
Sintaksa
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);
Parametri
| FileHandle | Rukovaoc koji vraćaju funkcije DAOpenFile, DAOpenFileReadOnly ili DAOpenFromStream |
|---|---|
| PageRef | Referenca stranice koju vraćaju funkcije DAFindPage ili DANewPage |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
| Dimension | 0 = Levo 1 = Gore 2 = Širina 3 = Visina 4 = Desno 5 = Dole int BoxIndex, int Dimension); |