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

Parent0 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
TitleTytuł elementu konspektu
DestPageNumer strony docelowej wskazywanej przez ten element konspektu
DestPositionPołożenie pionowe na stronie docelowej, do którego prowadzi łącze

Wartości zwracane

0Nie można dodać elementu
Non-zeroIdentyfikator pomyślnie dodanego elementu