PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

I would like to call doc.addAnnot from VBA/VB/C#. I am ready to retrieve the
JsObject through OLE-Automation but AddAnnot needs a JS-Array with the
parameters in it. How I need to contruct this via VB ?

Basically I would like to do something like this :

annot = this.addAnnot({
page: 1,
type: "Underline",
quads: this.getPageNthWordQuads(1, 4),
author: "A. C. Acrobat",
contents: "Fifth word on second page"
});

but through an OLE-automation process. The Docs from the SDK are using a way
like this :

annot = m_jsObject.addAnnot()
annotProps = annot.getProps()

The problem I have is I have a quad and not the rect for the Annotation. So
how do I need to construct the JS-Array or how to convert the quad to a rect
?

regards

Carsten


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to