DAMovePage

Funkcje dostępu bezpośredniego, Przetwarzanie stron

Opis

Przenosi stronę do nowego położenia w dokumencie

Składnia

Delphi

Function TPDFlib.DAMovePage(FileHandle, PageRef, TargetPageRef, Options: Integer): Integer;

ActiveX

Function PDFlib::DAMovePage(FileHandle As Long, PageRef As Long, TargetPageRef As Long, Options As Long) As Long

DLL

int DLDAMovePage(int InstanceID, int FileHandle, int PageRef, int TargetPageRef, int Options);

Parametry

FileHandleUchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream
PageRefOdwołanie do strony zwrócone przez funkcję DAFindPage lub DANewPage. Jest to strona, która zostanie przeniesiona.
TargetPageRefOdwołanie do strony zwrócone przez funkcję DAFindPage lub DANewPage. Strona zostanie przeniesiona przed tę stronę lub za nią. 0 = Przenieś przed stronę docelową 1 = Przenieś za stronę docelową
Options

Wartości zwracane

0Nie można było przenieść strony. Sprawdź poprawność wartości FileHandle, PageRef i TargetPageRef.
1Strona została pomyślnie przeniesiona