Accessing tooltip of a textbox field.

For a pdf text field, I am able to get its name and content but is
there any way to get Tooltip property of that field?
It would be helpful if you also show me also how to update the tooltip
text.

Thanks,
Uday

You could set a tooltip on a Widget anntation using
Widget.SetTooltip().
If an annotation of type Annot.Type.e_Widget you can create a Widget
as follwos:

// C# (other languages are similar)
pdftron.PDF.Annots.Widget widget = new
pdftron.PDF.Annots.Widget(annot);
widget.SetTooltip("Hello");

Alternatively you could use the following line on the:

annot.GetSDFObj().PutString("TU", "Hello");

To find each radio button’s tooltip, you can use the following:

using System;
using pdftron;
using pdftron.Common;
using pdftron.Filters;
using pdftron.SDF;
using pdftron.PDF;

namespace FormsTestCS
{
class Class1
{
static void Main(string[] args)
{
PDFNet.Initialize();
PDFDoc doc = new PDFDoc("…/…/…/…/TestFiles/mydoc.pdf");
doc.InitSecurityHandler();
FieldIterator itr;
for(itr=doc.GetFieldIterator(); itr.HasNext(); itr.Next())
{
Field field = itr.Current();
if (field.GetType() == Field.Type.e_radio)
{
Obj dict = field.GetSDFObj().FindObj(“Parent”);
if (dict != null)
{
Obj tu = dict.FindObj(“TU”);
if (tu != null)
{
Console.WriteLine("tooltip text: " + tu.GetAsPDFText());
}
}
}
}
}
}
}