ImportedPageArea with bleed

ImportedPageArea with bleed

Forum member · Apr 25, 2007
i need to pull in an existing PDF page with bleed (i've been using ImportedPageArea), and have that bleed appear in the final PDF when Draw(). using the following to pull in the template (believing that the x,y of the constructor is looking at the crop box of the template): ImportedPageArea template = new ImportedPageArea(Server.MapPath("./templates/" + templateName), 1, 0, 0); page.Elements.Add(template); the crop box of the template is set to the trim for alignment's sake. will that still retain the bleed? (i.e. can the bleed box be bigger than the crop box?) have been using the following for the dimensions: Dimensions trimBoxDimensions = new Dimensions(pageWidth, pageHeight); Dimensions bleedBoxDimensions = new Dimensions(pageWidth + (bleed * 2), pageHeight + (bleed * 2)); Dimensions cropBoxDimensions = bleedBoxDimensions; Dimensions bodyBoxDimensions = trimBoxDimensions; Dimensions mediaBoxDimensions = bleedBoxDimensions; Dimensions artBoxDimensions = bleedBoxDimensions; ExtendedPageDimensions extendedPageDimensions = new ceTe.DynamicPDF.ExtendedPageDimensions(mediaBoxDimensions, cropBoxDimensions, bleedBoxDimensions, trimBoxDimensions, artBoxDimensions, bodyBoxDimensions); page = new ceTe.DynamicPDF.Page(extendedPageDimensions); doc.Pages.Add(page); i'm getting out a PDF with no bleed top and left, and a .25 inch white space below and right, with no bleed at all. thanks, marc

Re: ImportedPageArea with bleed

Support · Apr 25, 2007
Hello Marc, Can you please send over the original template PDF and the output PDF document to our [^a|mailto:support@cete.com|Support Team^] and they can take a look at it? Also can you please describe briefly what exactly you are trying to accomplish by setting the ExtendedPageDimensions. Also what is the value of bleed you are using when setting the bleed box dimensions? Thanks, ceTe Software Support Team

Re: ImportedPageArea with bleed

Forum member · Apr 25, 2007
i'm trying to use ExtendedPageDimensions to add bleed to the document withoug having to change the trim size of the template or output doc. the goal is to put bleed on the template, bring the template into the document, and output it without losing the bleed. i've been using a 9 point bleed. thanks, marc