Hello,
i want to store a whole page in a variable i do it this way:
VGCore.Page myPage = doc.Pages.First;
Later i want to assign this Page to another document but i don't find a function for that... i wanna do something like
doc.Pages.add(myPage)
What you are trying to do is strange...
In your first line of code you just set a reference to the first page of the doc document. You can only use it like:
int x = myPage.Shapes.Count; string y = myPage.Name; VGCore.ShapeRange Sh = myPage.Shapes.All
Returning the number of shapes in the referenced page, its name and a ShapeRange reference.
If you imagine that myPage varible keeps the content of that specific page you are wrong! You can add an empty page and after that to copy the content of myPage. But you firstly must understand the meaning of what you do against what you intend to do...