I'm new in c# and in Corel. I try to use .PageChange commend. Maybe can i change page by name?. I have 22 pages in document.
CorelDRAW.Application cdr = new CorelDRAW.Application(); cdr.Visible = false; cdr.OpenDocument(@"C:\software\Corel\xxxx.cdr"); cdr.ActiveDocument.Activate(); cdr.ActiveDocument.PageChange += ??? MessageBox.Show(cdr.ActivePage.Name);
What do you want accomplishing trying to use `PageChange`? Such a propery does not exist for a document object... Can you explain what do you need. Besides that, 'ActiveDocument.Activate` do not make to much sense...
Do you want changing of the page size?