About two weeks ago I began evaluating the Tracker "PDF-XChange Editor SDK" for a major project at my organization. Thus far I have been very pleased with the the software and have given a number of "proof of concept" demonstrations to the project stake holders and have gotten nothing but positive feedback. I spend a great deal of time reading through the available documentation and the user forums and for the first time I have a question that I have not been able to find an answer to using those resources.
We are working in an MS Windows environment, Windows 10, developing in C# with Visual Studio 2013. One of the key functions for the project is the ability to crop a page within a PDF document and save the document up to an including the cropped page. I have no issue invoking the page crop function as follows:
Code: Select all
var cmndString = uiInst.CmdManager.Cmds.Find("cmd.document.cropPages");
pdfCtl.Inst.ExecUICmd2(cmndString.ID);
and then using "op.document.resizePages" and "op.document.extractPages" to produce the desired end document. However, when the "Crop Pages" panel appears the selected defaults, e.g. "Remove the content outside of the crop box area" and "Current Page," are unchecked. For the convenience, speed and accuracy of our end users we would like to have these options always selected. Is there a way to either configure or programmatically select the desired options before displaying the panel to the end user.
Regards,
Paul