Hi All
Trying to extract some data from a PDF and its not finding it51060 INSPIRE UK Labels - Copy.pdf (46.7 KB) although I can see it there.
var consignorRefReturn,consignorLocation,consignorLocationTop;
consignorRefReturn = 'ERROR ON RECORD INVESTIGATE ’ + record.index;
consignorLocation = data.find(‘Consignor’, 0, 210);
if(consignorLocation == null)
{
consignorLocation = data.find('Sender:', 0, 210);
if(consignorLocation != null)
{
consignorLocationTop = (consignorLocation.top);
}
}
else{
consignorLocationTop = consignorLocation.top;
}
if(consignorLocation != null)
{
consignorRefReturn = data.extract(1,100,consignorLocationTop,3,“
”);
}
consignorRefReturn;
//consignorLocation;
its not finding
consignorLocation = data.find(‘Sender:’, 0, 210); the word Sender. Is there a way to alter the magic number, word spacing or line spacing it uses during the input algorithms from within with the java script of the extraction? I’m assuming that might help?