DANewPages
Funkcje dostępu bezpośredniego, Przetwarzanie stron
Opis
Dodaje podaną liczbę nowych stron na końcu dokumentu. Wszystkie nowe strony mają standardowy rozmiar 612x792 punktów.
Składnia
Delphi
Function TPDFlib.DANewPages(FileHandle, PageCount: Integer): Integer;
ActiveX
Function PDFlib::DANewPages(FileHandle As Long, PageCount As Long) As Long
DLL
int DLDANewPages(int InstanceID, int FileHandle, int PageCount);
Parametry
| FileHandle | Uchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream |
|---|---|
| PageCount | Liczba stron do dodania do dokumentu |
Wartości zwracane
| 0 | Podany FileHandle był nieprawidłowy |
|---|---|
| Wartość niezerowa | Łączna liczba stron w dokumencie po dodaniu nowych stron |