Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Remove Image Stamp from PDF

$
0
0

Hi Team,

 

I have a requirement to add a QR code on PDF and later on it should be removed from the file.

So I use below code to add the QR code image in to PDF.

//Open documentDocument pdfDocument = new Document("input.pdf");

//Create image stampImageStamp imageStamp = new ImageStamp("aspose-logo.jpg");
imageStamp.Background = true;
imageStamp.XIndent = 100;
imageStamp.YIndent = 100;
imageStamp.Height = 300;
imageStamp.Width = 300;
imageStamp.Rotate = Rotation.on270;
imageStamp.Opacity = 0.5;
//Add stamp to particular pagepdfDocument.Pages[1].AddStamp(imageStamp);

//Save output documentpdfDocument.Save("output.pdf");

Now I want to remove the image stamps that I have added.  How can I remove the image stamps from PDF?

 


Viewing all articles
Browse latest Browse all 3131

Trending Articles