====== std.pdf.annot ====== PDF-Annotationen: klickbare URI-Links, GoTo-Links (Sprung zu anderer Seite), Text-Notizen (Kommentare). Annotationen erscheinen als interaktive Elemente im PDF-Viewer. → [[lyx_-_programmiersprache:units:pdf|std.pdf]] · [[lyx_-_programmiersprache:units:pdf:namedest|std.pdf.namedest]] ---- ===== Funktionen ===== ^ Signatur ^ Sichtbarkeit ^ Beschreibung ^ | ''PdfAddLink(doc: int64, page: int64, x1: f64, y1: f64, x2: f64, y2: f64): int64'' | pub | Add a link annotation (clickable rect) — returns annotIdx for follow-up calls. Call PdfLinkSetURI or PdfLinkSetGoto immediately after to set the link action. | | ''PdfLinkSetURI(doc: int64, annotIdx: int64, url: pchar): void'' | pub | Set the URI for a link annotation created by PdfAddLink. | | ''PdfAddLinkGoto(doc: int64, page: int64, x1: f64, y1: f64, x2: f64, y2: f64): int64'' | pub | Add a GoTo link annotation (jumps to another page in the same document). Call PdfLinkSetGoto immediately after to set the destination page. | | ''PdfLinkSetGoto(doc: int64, annotIdx: int64, destPage: int64): void'' | pub | Set the destination page for a GoTo link created by PdfAddLinkGoto. | | ''PdfAddNote(doc: int64, page: int64, x: f64, y: f64, title: pchar, content: pchar): int64'' | pub | Add a text note (sticky-note icon) annotation. Returns annotIdx. | ---- //Signaturen automatisch aus ''std/pdf/annot.lyx'' erzeugt (Stand 2026-08-02, lyxc 1.0.21A). Beschreibungen stammen aus den Quellkommentaren und sind teilweise unvollständig.//