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

FileHandleUchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream
PageCountLiczba stron do dodania do dokumentu

Wartości zwracane

0Podany FileHandle był nieprawidłowy
Wartość niezerowaŁączna liczba stron w dokumencie po dodaniu nowych stron