DAGetPageBox
Doğrudan erişim işlevselliği, Sayfa özellikleri
Açıklama
Belirtilen sayfa sınırı dikdörtgeninin bir boyutunu döndürür
Döndürülen değerler sayfanın sol alt köşesinden ölçülen noktalardır
Sözdizimi
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);
Parametreler
| FileHandle | DAOpenFile, DAOpenFileReadOnly veya DAOpenFromStream işlevlerinin döndürdüğü bir tanıtıcı |
|---|---|
| PageRef | DAFindPage veya DANewPage işlevlerinin döndürdüğü sayfa başvurusu |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
| Dimension | 0 = Sol 1 = Üst 2 = Genişlik 3 = Yükseklik 4 = Sağ 5 = Alt int BoxIndex, int Dimension); |