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
| FileHandle | Uchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream |
|---|---|
| PageRef | Odwołanie do strony zwrócone przez funkcję DAFindPage lub DANewPage. Jest to strona, która zostanie przeniesiona. |
| TargetPageRef | Odwoł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
| 0 | Nie można było przenieść strony. Sprawdź poprawność wartości FileHandle, PageRef i TargetPageRef. |
|---|---|
| 1 | Strona została pomyślnie przeniesiona |