SetAnnotContents
Adnotacje i łącza obszarów aktywnych
Opis
Zmienia zawartość adnotacji
Składnia
Delphi
Function TPDFlib.SetAnnotContents(Index: Integer; Const NewContents: WideString): Integer;
ActiveX
Function PDFlib::SetAnnotContents(Index As Long, NewContents As String) As Long
DLL
int DLSetAnnotContents(int InstanceID, int Index, const wchar_t* NewContents);
int DLSetAnnotContentsA(int InstanceID, int Index, const char* NewContents);
Parametry
| Index | Indeks adnotacji. Pierwsza adnotacja na stronie ma indeks 1 |
|---|---|
| NewContents | Nowa zawartość adnotacji |
Wartości zwracane
Zwraca 1, gdy zawartość została zmieniona. Zwraca 0, gdy Index nie identyfikuje adnotacji na bieżącej stronie.