I am adding a background image to all of the pages in the document using an embedded image. However when I print the document it is treating the pages in the document as images, causing each page to print very slowly. Is there a way create the backgound using an image without causing it to impact the printing?
System.Reflection.Assembly myAssembly = System.Reflection.Assembly.GetExecutingAssembly();
Stream myStream = myAssembly.GetManifestResourceStream("ReportPackageCollater.PreLim.gif");
BackgroundImage backgroundImage = new BackgroundImage( myStream );
backgroundImage.UseMargins = true;
TransparencyGroup backgroundGroup = new TransparencyGroup( 0.3f );
backgroundGroup.Add( backgroundImage );
for(int i=0; i < document.Pages.Count; i++)
{
document.Pages[i].Elements.Add( backgroundGroup );
}
Background Image
Re: Background Image
Support · Aug 7, 2006Hello,
There is nothing within our product that causes to slow down the printing process. It’s the way Acrobat handles the PDF pages and does the interpretation of the page causing the printing to slow down.
If the image you are adding to the background is complex and is of larger size, it might slow down the printing process. If possible try to use a simpler image or text in the background in order to speed up the printing process.
Thanks,
ceTe Software Support Team