Hi,
I am using hyperlinks in my PDF document.
Here is the code -
Aspose.Pdf.Generator.Pdf pdf = new Aspose.Pdf.Generator.Pdf();
Section mainSection = pdf.Sections.Add();
Text specText = new Text(mainSection);
Segment specSegment = new Segment();
specSegment = specText.Segments.Add("1. XXX");
specSegment.Hyperlink.LinkType = HyperlinkType.Local;
specSegment.Hyperlink.TargetID = "rrr";
mainSection.Paragraphs.Add(specText);
Text elecReqHeaderText = new Text(mainSection, "YYY");
elecReqHeaderText.ID = "rrr";
mainSection.Paragraphs.Add(elecReqHeaderText);
The attached images are the out I am getting.
There is a border around XXX text and an addition rectangle is appearing near the text YYY.
Could you please help me in debugging these
By the way I am using Aspose PDF for .net
Thanks a lot,
Sharanya