Previous | Next | (P-PDF) Developers
Topic: RE: Add New Annot (Via Email)
Conf: (P-PDF) Developers, Msg: 32899
From: dpstory
Date: 1/16/2002 11:05 PM
I'm not sure what you mean be "is there any function in JavaScript
to acquire that Array". The array simply needs to be constructed.
Did you see the Ink example of the four-leaf rose near the end of
the AcroJS manual (version 5.0). Here a geometric shape is drawn.
Something similar can be done with other shapes.
Now, what do you want to Ink? Do you want so highlight a series
of words on the page, and drawing an oval around them
progrmamatically, or do you wnat do draw a graph?
No JavaScript function can acquire the array, because of the infinite
variery of Ink designs and locations that are possible.
However, given that you already have an well-defined ink
annotation, you can acquire the gestures array from the 'gestures'
property of the annotation.
Given that you want to design an ink annotation, YOU must supply
the gestures. See the PDF Ref for a definition and description of
the Ink gestures.
dps
On 16 Jan 2002, at 12:32, p-pdf-developer Listmanager wrote:
> From: "ARAVIND"
>
> --- Planet PDF Forum | http://forum.planetpdf.com ----
>
> Hi!
>
> Thanks alot for ur quick response. Exactly what i'm trying is to Add an Ink Annot on a PDF document. I'm able to add that without any problem by using AddAnnot function thru Java Script. But i'm passing some hardcoded values for the gestures Property. So, how can i get that Ink List. Is
there any function in JavaScript to acquire that Array? Please help me!
>
> --Aravind Kalli.
>
>
> --------- ePublish Store's Top 10 List for December ----------
>
> Crackerjack - StampPDF - ARTS Split and Merge Wizard
> ARTS Import - Gemini - BatchPrintPDF - Compose
> Jaws PDF Creator - AppendPDF - BCL Drake
>
> Find out why these were the best-selling products last
> month. Free demos of most at the ePublish Store!
> http://www.epublishstore.com/
> (formerly known as the Planet PDF Store)
>
> ------- Powered by BinaryThing.com & www.PlanetPDF.com -------
>
>