I loaded a PDF document and then i need to import some pages to add labels and images. fo that iam using
Page dynpage = document.Pages[PageNumber];
whre PageNumber is the integer that need to get the page
using that gives me a "Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index " exception