User Activity

  • Posted a comment on discussion Help on PDF Clown

    So...this actually doesn't quite cover every kind of pdf document, so if anyone has input that would be appreciated

  • Posted a comment on discussion Help on PDF Clown

    So actually I found what I needed, here it is for anyone that needs it: public static void applyLayer(Document targetDoc, Document sourceDoc, Layer layer) { Page page = sourceDoc.Pages[0].Clone(targetDoc) as Page; Contents pageContents = page.Contents; PrimitiveComposer composer = new PrimitiveComposer(targetDoc.Pages[0]); composer.BeginLayer(layer); foreach(ContentObject obj in pageContents) { composer.Add(obj); } composer.Flush(); }

  • Posted a comment on discussion Help on PDF Clown

    One thing to note...current output.pdf basically just has pdf1 followed by two instances of pdf2...instead of applying in to the layer it simply adds an additional page, which isn't what I want

  • Posted a comment on discussion Help on PDF Clown

    Hello, My project starts with two PDFs. Call them source PDF and target PDF. I want to: Copy the first page of source PDF. Create a second layer on the target PDF Apply the first page of the source PDF to the second layer of the Target PDF My code consists of the following functions: CreateLayer() AppendPage() ApplyPage() ApplyPage() is the only thing working incorrectly, can someone help me out? Code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;...

View All

Personal Data

Username:
jed1helpme
Joined:
2017-06-19 18:56:07

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB