How to copy certain object individually at a certain coordinate, nor copy an object repeatedly

,

This application tries to nest atypical figures in a given document in an optimized ratio.
For instance, using this application, five triangles, five rectangles, and five polygons including their inner raster images
will be rearranged by being rotated or replaced to find out an optimized position in a given document.

As far as I know, PDFNet is designed to read/write in the same memory address to manage memory effectively.
In other words, it copies an element by reading element in an original page and then writing the element in a new page.

But, the application that we’ve been trying to make has to copy each element as an each object in order to be more efficient.

So far, these are what we’ve learned about PDFNet,

  1. To create a new object in a page and then write newly created element by reading element in an original page one by one; this method works
    only if we know exactly how a PDF is created when it is created. In other words, we can copy correctly if we know detailed information about
    how an object is rotated or what effect it is used.

  2. To copy the whole object in a given page using CreateForm(ImportedPage[0]); this enables to copy the whole object in a PDF file,
    still this method cannot copy certain object individually at a certain coordinate, nor copy an object repeatedly.

I’m just wondering if there’s a way to copy an object without a ny information about the whole characteristics of an element.

Test1.zip (505 KB)

Test2.zip (234 KB)