can you please check if NewActionGoTo method works correctly with all PdfDestinationType values. I was testing it on document with tree pages, I wanted to add a bookmark to start of each page.
With DestinationTypeFit everything worked as expected.
Code: Select all
var actionId = mergedDocument.NewActionGoTo(PdfDestinationType.DestinationTypeFit, currentPage, 0, 0, 0, 0, 0);
Code: Select all
var actionId = mergedDocument.NewActionGoTo(PdfDestinationType.DestinationTypeXYZ, currentPage, 0, 0, 0, 0, 0);