hi vaughnrk,
I have test your sample pdf document( eFiled Doc No TS.pdf) that can not be stamped. But I have get the right result. my code is as below.The attachment is the result stamped with time. Please notice the red part.
string path1 = @"gemini_3900\eFile Doc No TS.pdf";
string path2 = @"gemini_3900\Stamp.pdf";
Stamp logoStamp = new Stamp();
DateTime dt1=DateTime.Now;
logoStamp.BindLogo(new FormattedText(dt1.ToLongTimeString(),System.Drawing.Color.FromArgb(180,0,0),FontStyle.TimesItalic,EncodingType.Winansi,false,50));
logoStamp.Rotation = 45;
logoStamp.Opacity = 0.5f;
logoStamp.IsBackground=false;
logoStamp.SetOrigin(60,500);
PdfFileStamp _stamp = new PdfFileStamp(path1, path2);
_stamp.AddStamp(logoStamp);
_stamp.Close();
If you still does not not get the right result, please post the code you used, which can help us to solve the problem.
Allen Wen
Developer
Aspose Changsha Team
About Us Contact Us