[PDFNet] I have a question about Ink line ending style.

How to do "LE" on Ink Annotation?

Please, Show below code.

           //////////////////////////////////////////////////////////////////////////////////////////////////
           //Create an ink annotation.
           pdftron.PDF.Annots.Ink ink =
pdftron.PDF.Annots.Ink.Create(doc, new Rect(110, 10, 300, 200));
           pdftron.SDF.Obj inkSdf = ink.GetSDFObj();

           // Line Color
           ink.SetColor(new ColorPt(0, 1, 1), 4);

           // Line Ending Style - Why is not doing?
           pdftron.SDF.Obj le = inkSdf.PutArray("LE");
           pdftron.SDF.Obj el1 = le.PushBackName("OpenArrow");
           pdftron.SDF.Obj el2 = le.PushBackName("OpenArrow");

           Point pt3 = new Point();
           pt3.x = 110; pt3.y = 10;
           ink.SetPoint(0, 0, pt3);
           pt3.x = 150; pt3.y = 50;
           ink.SetPoint(0, 1, pt3);
           pt3.x = 190; pt3.y = 60;
           ink.SetPoint(0, 2, pt3);
           pt3.x = 180; pt3.y = 90;
           ink.SetPoint(1, 0, pt3);
           pt3.x = 190; pt3.y = 95;
           ink.SetPoint(1, 1, pt3);
           pt3.x = 200; pt3.y = 100;
           ink.SetPoint(1, 2, pt3);
           pt3.x = 166; pt3.y = 86;
           ink.SetPoint(2, 0, pt3);
           pt3.x = 196; pt3.y = 96;
           ink.SetPoint(2, 1, pt3);
           pt3.x = 221; pt3.y = 121;
           ink.SetPoint(2, 2, pt3);
           pt3.x = 288; pt3.y = 188;
           ink.SetPoint(2, 3, pt3);

           first_page.AnnotPushBack(ink);
           //////////////////////////////////////////////////////////////////////////////////////////////////

I'm sorry because I'm not English well.

Thanks.
--
You received this message because you are subscribed to the "PDFTron PDFNet SDK" group. To post to this group, send email to support@pdftron.com
To unsubscribe from this group, send email to pdfnet-sdk-unsubscribe@googlegroups.com. For more information, please visit us at http://www.pdftron.com

Subscription settings: http://groups.google.com/group/pdfnet-sdk/subscribe?hl=en

According to PDF standard, Ink annotations do not have the line ending
property. So even though you can add "LE" to the annotation
dictionary, it will not be reflected in the generated appearance of
the annotation.
--
You received this message because you are subscribed to the "PDFTron PDFNet SDK" group. To post to this group, send email to support@pdftron.com
To unsubscribe from this group, send email to pdfnet-sdk-unsubscribe@googlegroups.com. For more information, please visit us at http://www.pdftron.com