Stamped A0 Size PDF loosing content

Stamped A0 Size PDF loosing content

Forum member · Jul 25, 2006
Hi There, I have an A0 size PDF file that when after being stamped looses the content and only shows the stamp. Do you know what the problem might be? Have you come across this issue before? Regards, Tom

Re: Stamped A0 Size PDF loosing content

Forum member · Jul 25, 2006
Further to this problem I can send you a before and after PDF example. Here's the code I'm using to watermark the document. ################################################################## filepath = DocumentPath + @"rm_" + RoomID.ToString() + @"\dms\" + filename; // set filepath for download // Create an output document and set it's properties MergeDocument document = new MergeDocument( filepath ); document.Creator = "TEST"; document.Author = "TEST"; document.Title = filename; TrueTypeFont trueTypeFont = new TrueTypeFont( FontType ); WebColor webColor1 = new WebColor( FontColour ); Label label1 = new Label( Watermark , 80, 600, 600, 150, trueTypeFont, FontSize, TextAlign.Center, webColor1 ); label1.Angle = -45; TransparencyGroup anchorGroup = new TransparencyGroup( Opacity ); anchorGroup.Add( label1 ); Template stampTemplate = new Template(); document.StampTemplate = stampTemplate; stampTemplate.Elements.Add( anchorGroup ); filepath = DocumentPath + @"rm_" + RoomID.ToString() + @"\dms\" + wmFilename; document.Draw( @filepath ); ################################################################## Regards, Tom

Re: Stamped A0 Size PDF loosing content

Support · Jul 25, 2006
Hello Tom, Can you please tell us what value you are setting for opacity parameter you are passing to the TransparencyGroup constructor? Also, can you please send the original PDF document you are using to our [^a|mailto:support@cete.com|Support Team^], so that they will try to create the same behavior at their end? Thanks, ceTe Software Support Team