Stamping New Content
Developers may edit any PDF document by adding new content to any page (or pages) using the StampHTML method for PDF management.
using IronPdf; using IronPdf.Editing; var stamper = new HtmlStamper("<img src='https://ironpdf.com/img/products/ironpdf-logo-text-dotnet.svg'/>") { HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Bottom, IsStampBehindContent = false, Opacity = 30 }; var pdf = PdfDocument.FromFile("Sample.pdf"); pdf.ApplyStamp(stamper).SaveAs("stamped_image.pdf");
Imports IronPdf Imports IronPdf.Editing Private stamper = New HtmlStamper("<img src='https://ironpdf.com/img/products/ironpdf-logo-text-dotnet.svg'/>") With { .HorizontalAlignment = HorizontalAlignment.Center, .VerticalAlignment = VerticalAlignment.Bottom, .IsStampBehindContent = False, .Opacity = 30 } Private pdf = PdfDocument.FromFile("Sample.pdf") pdf.ApplyStamp(stamper).SaveAs("stamped_image.pdf")
Developers may edit any PDF document by adding new content to any page (or pages) using the StampHTML method for PDF management.
30-day Trial Key instantly.
15-day Trial Key instantly.
Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com
Install-Package IronPdf
Have a question? Get in touch with our development team.
No credit card required
Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com
No credit card required
Get started for FREE
No credit card required
Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
No credit card or account creation required
Your trial key should be in the email.
If it is not, please contact
support@ironsoftware.com
Get started for FREE
No credit card required
Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
Licenses from $749. Have a question? Get in touch.
Book a 30-minute, personal demo.
No contract, no card details, no commitments.
10 .NET API products for your office documents