Skip to content

Commit

Permalink
Merge pull request #328 from aspose-pdf/PDFNET_58672_Update_TOC
Browse files Browse the repository at this point in the history
Update ToC (PDFNET-58672)
  • Loading branch information
AlexBiriukov authored Nov 25, 2024
2 parents 982e527 + bc0a080 commit c1928a5
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ The following code snippet shows how to add a FreeTextAnnotation with specific t

{{< tabs tabID="1" tabTotal="2" tabName1=".NET Core 3.1" tabName2=".NET 8" >}}
{{< tab tabNum="1" >}}
csharp
```csharp
private static void AddFreeAnnotation()
{
// The path to the documents directory
Expand All @@ -310,10 +310,11 @@ private static void AddFreeAnnotation()
document.Save(dataDir + "SetFreeTextAnnotationFormatting_out.pdf");
}
}
```
{{< /tab >}}

{{< tab tabNum="2" >}}
csharp
```csharp
private static void AddFreeAnnotation(string fontName = "Arial", float fontSize = 28)
{
// The path to the documents directory.
Expand All @@ -337,7 +338,7 @@ private static void AddFreeAnnotation(string fontName = "Arial", float fontSize
// Save the updated document
document.Save($"{dataDir}SetFreeTextAnnotationFormatting_out.pdf");
}

```
{{< /tab >}}
{{< /tabs >}}

Expand Down

0 comments on commit c1928a5

Please sign in to comment.