Moderators:TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
//C#
private void RemoveWhiteSpaces(PDFXEdit.IPXV_Document pDoc, PDFXEdit.PXV_Inst pInst)
{
if (pDoc == null)
return;
int nID = pInst.Str2ID("op.document.cropPages", false);
PDFXEdit.IOperation Op = pInst.CreateOp(nID);
PDFXEdit.ICabNode input = Op.Params.Root["Input"];
input.v = pDoc;
PDFXEdit.ICabNode options = Op.Params.Root["Options"];
options["Flags"].v = 256; //Remove white spaces
Op.Do();
}
This works on on most documents. But not on all. I attached two samples where this method doesn't work. what's the difference? How can I crop these documents too?
When I use the XChange Editor it always works.
Regards
Michael
You do not have the required permissions to view the files attached to this post.
The first thing that comes to mind is that the builds of the SDK and the end user Editor you have are not the same.
Please check and ensure you have all the latest files for the Editor SDK, and then let us know if it still doesn't work!