Q: How do I create undeline or strikeout text annotation?
------
A: You can create Underline text annotation as follows:
...
//Create an Underline annotation...
QuadPoint qp;
qp.p1.x=350; qp.p1.y=200;
qp.p2.x=380; qp.p2.y=230;
qp.p3.x=410; qp.p3.y=230;
qp.p4.x=360; qp.p4.y=350;
Underline underline=pdftron::PDF::Annots::Underline::Create(doc, Rect
(350, 200, 450, 390)); underline.SetQuadPoint(0, qp);
page.AnnotPushBack(underline);
StrikeOut strikeout=StrikeOut::Create(doc, Rect(350, 400, 450, 500));
qp.p1.x=350; qp.p1.y=400;
qp.p2.x=380; qp.p2.y=430;
qp.p3.x=410; qp.p3.y=430;
qp.p4.x=360; qp.p4.y=450;
strikeout.SetQuadPoint(0, qp);
page.AnnotPushBack(strikeout);
...
The above code is in the context of AnnotationTest sample project
(http://www.pdftron.com/pdfnet/samplecode.html#Annotation)