New Forum | Previous | Next | (P-PDF) Developers
Topic: Re: Acrobat Core API Question
Conf: (P-PDF) Developers, Msg: 56232
From: Deleted User
Date: 5/29/2002 05:17 PM
> I need a little help in figuring out which of the
>API objects refer to PDF Form fields. My C/C++ is
>rusty. The Acrobat Forms API reference mentions a PDField object,
>and goes on to say that the Core API reference has details. I can't
>seem to find any
>instance of PDField in the core doc.
>I'm simply trying to create a pdf form field,
>not enumerate it (ala FormDemo.cpp).
>thanks in advance
A form field is a type of annotation (widget). As such you can
create a new form field on a PDPage using PDPageCreateAnnot. You
then need to create the various CosObjects needed by a form field and
add them to the PDAnnot using CosDictPut.
Chief Technology Officer
Appligent, Inc. (formerly Digital Applications, Inc.)
60 South Lansdowne Avenue
Lansdowne, PA 19050