Aspose.pdf.kit to add stamp on every page

Hello,

I have the same issue as in your Forum:
Stamp Won’t Apply to All Pages
Did you fix this problem?
My code is quite easy; I just want to add the text “COPY” to all the pages.

FileStream aFS = new FileStream(strfilename, FileMode.Open, FileAccess.Read);
MemoryStream aMS = new MemoryStream();
string strWatermark = ‘Copy’;
Stamp logoStamp = new Stamp();
logoStamp.Opacity = 0.5F;
FormattedText formatText = new FormattedText(strWatermark, System.Drawing.Color.FromArgb(33, 33, 33), "Arial", EncodingType.Winansi, false, 20);
logoStamp.SetOrigin(100, 75);
logoStamp.BindLogo(formatText);
PdfFileStamp aPFS = new PdfFileStamp(aFS, aMS);
aPFS.AddStamp(logoStamp);
//aPFS.AddHeader(formatText, 100);
aPFS.Close();

Thanks, best regards

Daniele

Hi Daniele,

Can you please share whether the stamp is being applied on the first page only or not being applied on any page of the pdf at all?

We're sorry for the inconvenience.

Regards,

Hi Daniele,

Thank you very much for considering Aspose.

I think this problem has been soloved,please try using the hotfix version from the this link.

When will this hotfix be offically released? The stamping on multiple pages does not work in the current version we have purchased, 3.4.

We could not find any link to this release- 3.4.1.3 on your download site.

Hi Jun,

Please download the latest hotfix 3.4.2.7 from this link.

Regards,