Make LinkAnnotation public
Build, test and publish draft / build (push) Has been cancelled
Build and test [MacOS] / build (push) Has been cancelled
Run Common Crawl Tests / build (0000-0001) (push) Has been cancelled
Run Common Crawl Tests / build (0002-0003) (push) Has been cancelled
Run Common Crawl Tests / build (0004-0005) (push) Has been cancelled
Run Common Crawl Tests / build (0006-0007) (push) Has been cancelled
Run Integration Tests / build (push) Has been cancelled
Tag Release / tag_if_version_changed (push) Has been cancelled
Nightly Release / Check if this commit has already been published (push) Has been cancelled
Nightly Release / tests (push) Has been cancelled
Nightly Release / build_and_publish_nightly (push) Has been cancelled

This commit is contained in:
BobLd
2026-02-18 14:09:20 +00:00
parent 665623561a
commit adb5713621
3 changed files with 3 additions and 2 deletions
@@ -285,6 +285,7 @@
"UglyToad.PdfPig.Util.Diacritics", "UglyToad.PdfPig.Util.Diacritics",
"UglyToad.PdfPig.Util.WhitespaceSizeStatistics", "UglyToad.PdfPig.Util.WhitespaceSizeStatistics",
"UglyToad.PdfPig.Writer.ITokenWriter", "UglyToad.PdfPig.Writer.ITokenWriter",
"UglyToad.PdfPig.Writer.LinkAnnotation",
"UglyToad.PdfPig.Writer.PdfAStandard", "UglyToad.PdfPig.Writer.PdfAStandard",
"UglyToad.PdfPig.Writer.PdfDocumentBuilder", "UglyToad.PdfPig.Writer.PdfDocumentBuilder",
"UglyToad.PdfPig.Writer.PdfMerger", "UglyToad.PdfPig.Writer.PdfMerger",
+1 -1
View File
@@ -9,7 +9,7 @@ namespace UglyToad.PdfPig.Writer
/// Represents a link annotation that can be added to a PDF page. /// Represents a link annotation that can be added to a PDF page.
/// Link annotations provide clickable areas that can trigger actions such as navigating to another page or opening a URL. /// Link annotations provide clickable areas that can trigger actions such as navigating to another page or opening a URL.
/// </summary> /// </summary>
internal sealed class LinkAnnotation public sealed class LinkAnnotation
{ {
/// <summary> /// <summary>
/// Gets the border style for the link annotation. /// Gets the border style for the link annotation.
+1 -1
View File
@@ -855,7 +855,7 @@
/// </summary> /// </summary>
/// <param name="link">The link annotation to add</param> /// <param name="link">The link annotation to add</param>
/// <returns>This page builder for method chaining</returns> /// <returns>This page builder for method chaining</returns>
private PdfPageBuilder AddLink(LinkAnnotation link) public PdfPageBuilder AddLink(LinkAnnotation link)
{ {
links.Add((link.ToToken(), link.Action)); links.Add((link.ToToken(), link.Action));
return this; return this;