DAHasPageBox
Funkcje dostępu bezpośredniego, Właściwości strony
Opis
Określa, czy strona ma wskazany prostokąt graniczny
Składnia
Delphi
Function TPDFlib.DAHasPageBox(FileHandle, PageRef, BoxIndex: Integer): Integer;
ActiveX
Function PDFlib::DAHasPageBox(FileHandle As Long, PageRef As Long, BoxIndex As Long) As Long
DLL
int DLDAHasPageBox(int InstanceID, int FileHandle, int PageRef, int BoxIndex);
Parametry
| FileHandle | Uchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream |
|---|---|
| PageRef | Odwołanie do strony zwrócone przez funkcję DAFindPage lub DANewPage |
| BoxIndex | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
Wartości zwracane
| 0 | Strona nie ma podanego prostokąta granic strony Strona ma podany prostokąt granic strony |
|---|---|
| 1 |