More precisely I tried the following:
Code: Select all
xchange.RunJavaScript(LPCTSTR(_T("var annot = this.addAnnot\({page: 0, type : \"Stamp\", opacity: \"1.0\",author: \" \",name: \"Stamp\", rect: [0,0,100,100], contents: \"Bla\", AP: \"a67a2568-ab5d-4c66-ba3e-2de1f3a027f0\"}) ")), &rs.m_str, 0, 0);
Code: Select all
xchange.RunJavaScript(LPCTSTR(_T("var annot = this.addAnnot\({page: 0, type : \"Stamp\", opacity: \"1.0\",author: \" \",name: \"Stamp\", rect: [0,0,100,100], contents: \"Bla\", AP: \"Approved\"}) ")), &rs.m_str, 0, 0);
So the question is: What ID has to be inserted after "AP" and how can it be found out?
Thank you,
Thomas