NewOutline
Konspekty
Opis
Dodaje nowy element konspektu do dokumentu. Elementy konspektu można dodawać w strukturze hierarchicznej. W programie Acrobat Reader konspekty są nazywane zakładkami
Składnia
Delphi
Function TPDFlib.NewOutline(Parent: Integer; Const Title: WideString; DestPage: Integer; DestPosition: Double): Integer;
ActiveX
Function PDFlib::NewOutline(Parent As Long, Title As String, DestPage As Long, DestPosition As Double) As Long
DLL
int DLNewOutline(int InstanceID, int Parent, const wchar_t * Title, int DestPage, double DestPosition);
Parametry
| Parent | 0 dla elementu głównego albo identyfikator elementu nadrzędnego, gdy jest to element potomny (zwrócony przez funkcję NewOutline). Prawidłowy identyfikator konspektu można też uzyskać za pomocą funkcji GetOutlineID |
|---|---|
| Title | Tytuł elementu konspektu |
| DestPage | Numer strony docelowej wskazywanej przez ten element konspektu |
| DestPosition | Położenie pionowe na stronie docelowej, do którego prowadzi łącze |
Wartości zwracane
| 0 | Nie można dodać elementu |
|---|---|
| Non-zero | Identyfikator pomyślnie dodanego elementu |