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

FileHandleDAOpenFile, DAOpenFileReadOnly veya DAOpenFromStream işlevlerinin döndürdüğü bir tanıtıcı
PageRefDAFindPage veya DANewPage işlevlerinin döndürdüğü sayfa başvurusu
BoxIndex1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox
Dimension0 = Sol 1 = Üst 2 = Genişlik 3 = Yükseklik 4 = Sağ 5 = Alt int BoxIndex, int Dimension);