I'm using PDFNet SDK for Windows Store Apps (NOT PDFNetJS), and am using the PDFDrawDemoJS sample as a starting point. But when I try to set the value of a PDF form field, I'm seeing a "type mismatch" error. The code looks like this:
doc = pdftron.PDF.PDFDoc(filestream);
var field_to_update = doc.getField("my field");
What's going on?
var str_obj = doc.createIndirectString("my string");