Skip to content

Add 50 new stamping examples to the PDF library - #416

Open
agent-aspose-pdf-examples wants to merge 1 commit into
release/26.8.0from
examples/57cf5014-stamping
Open

Add 50 new stamping examples to the PDF library#416
agent-aspose-pdf-examples wants to merge 1 commit into
release/26.8.0from
examples/57cf5014-stamping

Conversation

@agent-aspose-pdf-examples

Copy link
Copy Markdown
Collaborator

stamping

50 code example(s) for the stamping category.
Target: Aspose.PDF for .NET 26.8.0

Examples

# Example Difficulty
1 Add Semi-Transparent Logo Stamp to PDF beginner
2 Add Image Stamp to PDF Page with Quality and Opacity beginner
3 Add Image Stamp with Alt Text to PDF Page beginner
4 Add Image Stamp as Background Using FloatingBox on Page 4 intermediate
5 Apply Image Stamp to All PDF Pages beginner
6 Add Rotated Image Stamp to PDF beginner
7 Align Image Stamp to Top‑Right Corner with Margins beginner
8 Scale Image Stamp to Full Page Width intermediate
9 Add Image Stamp from Memory Stream to PDF intermediate
10 Add Low-Quality Image Stamp to PDF beginner
11 Add Fully Opaque Image Watermark to PDF beginner
12 Add Diagonal Image Watermark to PDF beginner
13 Add Upside-Down Image Stamp to PDF beginner
14 Place Image Stamp at Custom Coordinates beginner
15 Add Image Stamp with Percentage‑Based Positioning intermediate
16 Fit Image Stamp Within a Defined Rectangle intermediate
17 Apply Fixed-Size Image Stamp to PDF Pages beginner
18 Add Image Stamp with Unicode Alternative Text to PDF beginner
19 Add Image Stamp with Alt Text for PDF/A‑1b intermediate
20 Add Image Stamp to Encrypted PDF intermediate
21 Add Image Stamp to Signed PDF without Invalidating Signature beginner
22 Add Image Stamp Annotation to PDF intermediate
23 Add Image Stamp to PDF Form While Preserving Fields beginner
24 Add Image Stamp and Flatten Annotations to Create Read‑Only PDF intermediate
25 Add Image Stamp While Preserving Bookmarks and Outline beginner
26 Add Image Stamp to PDF While Preserving Page Labels beginner
27 Add Image Stamp While Preserving XMP Metadata intermediate
28 Add Image Stamp to PDF While Preserving Embedded Files beginner
29 Add Image Stamp to PDF While Preserving JavaScript Actions beginner
30 Add Image Stamp While Preserving AcroForm Fields beginner
31 Add Custom Text Stamp to PDF First Page beginner
32 Add Text Stamp with Auto‑Adjusting Font Size to PDF beginner
33 Add Outlined Text Stamp Using Stroke Rendering Mode beginner
34 Add Bold Outlined Text Stamp to PDF intermediate
35 Add Bottom‑Left Text Stamp to PDF beginner
36 Add Rotated Text Watermark to PDF beginner
37 Add Confidential Text Stamp to PDF beginner
38 Add Text Stamp with Background Box to PDF Pages intermediate
39 Add Multi-Line Text Stamp with Custom Line Spacing intermediate
40 Add RTL Text Stamp to PDF beginner
41 Add Full-Page Image Watermark to PDF beginner
42 Add Diagonal Text Stamp Watermark to PDF beginner
43 Add Background Image Stamp to PDF Pages beginner
44 Add Faint Overlay Stamp to PDF Pages beginner
45 Add Rotated Text Stamp to PDF Pages beginner
46 Add Custom-Sized Page Stamp to PDF intermediate
47 Add Page Stamp to Specific PDF Pages beginner
48 Add Global Text Stamp to All PDF Pages beginner
49 Create Page Stamp from Existing PDF Page intermediate
50 Apply PDF Page as Background Stamp intermediate

Key APIs Used

Aspose.Pdf.Annotations.Annotation.Flatten, Aspose.Pdf.Annotations.HorizontalAlignment, Aspose.Pdf.Annotations.ImageStamp, Aspose.Pdf.Annotations.Rotation, Aspose.Pdf.Annotations.StampAnnotation, Aspose.Pdf.Annotations.TextStamp, Aspose.Pdf.Annotations.VerticalAlignment, Aspose.Pdf.Color, Aspose.Pdf.Document, Aspose.Pdf.Document.Convert, Aspose.Pdf.Document.Decrypt, Aspose.Pdf.Document.GetXmpMetadata, Aspose.Pdf.Document.Pages, Aspose.Pdf.Document.Save, Aspose.Pdf.Document.SetXmpMetadata, Aspose.Pdf.Drawing.FloatingBox, Aspose.Pdf.Drawing.Image, Aspose.Pdf.Facades.ImageStamp, Aspose.Pdf.FontRepository.FindFont, Aspose.Pdf.HorizontalAlignment, Aspose.Pdf.ImageStamp, Aspose.Pdf.ImageStamp.AlternativeText, Aspose.Pdf.ImageStamp.Background, Aspose.Pdf.ImageStamp.HorizontalAlignment, Aspose.Pdf.ImageStamp.Opacity, Aspose.Pdf.ImageStamp.Quality, Aspose.Pdf.ImageStamp.RotateAngle, Aspose.Pdf.ImageStamp.VerticalAlignment, Aspose.Pdf.Page, Aspose.Pdf.Page.AddStamp
(+15 more)

Tags

Aspose Aspose.Pdf PDF accessibility acroform alignment alternative-text annotation aspect-ratio aspose aspose-pdf aspose.pdf auto-font-size background bookmarks color csharp custom-font custom-size digital-signature

Difficulty Distribution

  • beginner: 34 example(s)
  • intermediate: 16 example(s)

Pipeline Stages

  • Baseline (1st try): 41
  • LLM Fix: 8
  • Final LLM Recovery: 1

Generated by Examples Generator

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.

1 participant