Sample C# code for using PDFTron SDK to read/write a PDF document from/to memory buffer. This is useful for applications that work with dynamic PDFdocuments that don't need to be saved/read from a disk.
// documents that don't need to be saved/read from a disk.
// Relative path to the folder containing test files.
// Here we simply copy all elements from one page to another.