Todd Kneib#33215
We are getting contents from a PDF frame, sometimes we need to rotate the GraphicsContainer before calling DrawContainer on our output AdvancedGraphics instance.
I tried using a pipeline against the PDFFrame, but the results of the pipeline is a raster bitmap, I need the contents to remain paths (which is what is in the PDF Frame)
I tried using a pipeline against the PDFFrame, but the results of the pipeline is a raster bitmap, I need the contents to remain paths (which is what is in the PDF Frame)
.
.
.
var pdfReader = new PdfReader(@"C:\temp\16x12_indoorPillow_CutFile.pdf", artwork.DpiX, artwork.DpiY);
var frameStuff = pdfReader.Frames[0];
Pipeline pip = new Pipeline();
pip.Add(frameStuff);
pip.Add(new Rotate(90));
// the result of the pipeline is a raster image
graphics.DrawImage(pip, 150, 150);
.
.
.