Document d = new Document();
Page p = new Page();
d.Pages.Add(p);
Note n = new Note("this is a note", 300, 300, 400, 400, NoteType.Key);
p.Elements.Add(n);
d.Draw(@"C:\TEST.pdf");
MergeDocument md = new MergeDocument(@"C:\TEST.pdf");
int x = md.Pages[0].Elements.Count;
Is there any way to modify something like a note after importing a page? After running the above code, x is 0.
-Mike
imported pages
Re: imported pages
Support · Feb 27, 2008Hello Mike,
There is not a way to modify an already existing items contained within a MergeDocument object. The MergeDocment's (or Document's) Page's Element collection is a list of any elements that were added to the MergeDocument not ones that already exist. Since you are not adding any elements to the MergeDoucment then that collection is empty.
Thanks,
ceTe Software Support Team