Skip to content

Add 74 working-with-text code examples#265

Merged
fahadadeel merged 1 commit into
release/26.4.0from
examples/47b41280-working-with-text
May 8, 2026
Merged

Add 74 working-with-text code examples#265
fahadadeel merged 1 commit into
release/26.4.0from
examples/47b41280-working-with-text

Conversation

@agent-aspose-pdf-examples

Copy link
Copy Markdown
Collaborator

working-with-text

74 code example(s) for the working-with-text category.
Target: Aspose.PDF for .NET 26.4.0

Examples

# Example Difficulty
1 Extract PDF Text and Save Each Sentence on Separate Pages intermediate
2 Rotate a PDF Form Field Appearance intermediate
3 Batch Replace Multiple Keywords in PDF Using a Config File intermediate
4 Fuzzy Text Search in PDF with Levenshtein Distance intermediate
5 Add Text at Specific Coordinates to a PDF Page beginner
6 Insert Identical Text on All PDF Pages beginner
7 Load Custom TrueType Font from Memory Stream and Apply to PDF Text intermediate
8 Apply Custom OpenType Font to PDF Text beginner
9 Set Character Spacing for PDF Text intermediate
10 Add Left-Aligned Text to PDF beginner
11 Center Text on PDF Page beginner
12 Right Align Text in PDF beginner
13 Create Multi-Line Text Paragraph in PDF intermediate
14 Insert Clickable Hyperlink into PDF Text intermediate
15 Add Styled HTML Fragment to PDF Page beginner
16 Add Image Footnote to PDF Page intermediate
17 Add a Table Inside a Footnote in a PDF intermediate
18 Insert Formatted Endnote with Bold and Italic Text intermediate
19 Create Inline Text and Image in a PDF Paragraph beginner
20 Add Invisible Tooltip Button Over Text in PDF intermediate
21 Find Phrase Occurrences in PDF using TextFragmentAbsorber intermediate
22 Replace Text in PDF While Preserving Formatting intermediate
23 Add Header to All PDF Pages intermediate
24 Add Page Number Footer to PDF beginner
25 Add Semi-Transparent Text Watermark to PDF Pages intermediate
26 Rotate Text in PDF using Aspose.Pdf beginner
27 Apply Background Color to Text in PDF beginner
28 Set Font Size and Color for TextFragment beginner
29 Add Text to PDF from Memory Stream beginner
30 Save Modified PDF to Byte Array beginner
31 Add Text and Encrypt PDF with Password intermediate
32 Add Underlined Text to PDF beginner
33 Create Strikethrough Text in PDF with Aspose.Pdf intermediate
34 Render Subscript Text in PDF using Aspose.Pdf beginner
35 Set Custom Line Spacing for PDF Text beginner
36 Adjust Word Spacing of Inserted Text in PDF beginner
37 Justify Text in PDF Using TextFragment beginner
38 Add Right-to-Left Arabic Text to PDF intermediate
39 Add Bidirectional Text to PDF intermediate
40 Set Custom Line Height for PDF Text beginner
41 Enable Kerning for TextFragment in PDF beginner
42 Enable Ligatures When Adding Text to PDF beginner
43 Enable Hyphenation for Long Words in PDF beginner
44 Embed CSS in HtmlFragment for Styled PDF Output intermediate
45 Attach JavaScript Action to PDF Link Annotation beginner
46 Create GoTo Link in PDF Using TextFragment beginner
47 Add Clickable Text with Hyperlink to PDF intermediate
48 Add Launch Action to Text in PDF intermediate
49 Rotate Specific Text Fragment in PDF intermediate
50 Insert Rotated Text on Second PDF Page intermediate
... 24 more examples

Key APIs Used

Aspose.Pdf.Annotations.Border, Aspose.Pdf.Annotations.GoToURIAction, Aspose.Pdf.Annotations.JavascriptAction, Aspose.Pdf.Annotations.LaunchAction, Aspose.Pdf.Annotations.LinkAnnotation, Aspose.Pdf.Annotations.TextAnnotation, Aspose.Pdf.Annotations.WatermarkAnnotation, Aspose.Pdf.Annotations.WatermarkAnnotation.SetTextAndState, Aspose.Pdf.Color, Aspose.Pdf.Color.FromRgb, Aspose.Pdf.CryptoAlgorithm, Aspose.Pdf.Document, Aspose.Pdf.Document.Encrypt, Aspose.Pdf.Document.Pages, Aspose.Pdf.Document.Pages.Accept, Aspose.Pdf.Document.Save, Aspose.Pdf.Document.Validate, Aspose.Pdf.Drawing.Color, Aspose.Pdf.Drawing.TextBuilder, Aspose.Pdf.Drawing.TextBuilder.AppendParagraph, Aspose.Pdf.Font, Aspose.Pdf.Font.IsEmbedded, Aspose.Pdf.FontRepository, Aspose.Pdf.FontRepository.FindFont, Aspose.Pdf.FontRepository.OpenFont, Aspose.Pdf.Forms.ButtonField, Aspose.Pdf.Forms.Field, Aspose.Pdf.Forms.Form, Aspose.Pdf.Forms.Form.AddFieldAppearance, Aspose.Pdf.HeaderFooter
(+53 more)

Tags

Aspose.Pdf annotation appearance append arabic aspose aspose-pdf aspose.pdf background-color batch batch-processing bidirectional buttonfield byte-array center character-spacing color configuration coordinates cross-platform

Difficulty Distribution

  • beginner: 29 example(s)
  • intermediate: 45 example(s)

Pipeline Stages

  • LLM Fix: 34
  • Baseline (1st try): 29
  • Regen with KB: 10
  • Pattern Fix: 1

Generated by Examples Generator

@fahadadeel fahadadeel merged commit 88a83fb into release/26.4.0 May 8, 2026
1 check passed
@fahadadeel fahadadeel deleted the examples/47b41280-working-with-text branch May 8, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants