/// <summary> /// Get all the links in the HTML with the element rectangle and href data. /// </summary> /// <returns>collection of all the links in the HTML</returns> public List <LinkElementData <RectangleF> > GetLinks() { var linkElements = new List <LinkElementData <RectangleF> >(); foreach (var link in HtmlContainerInt.GetLinks()) { linkElements.Add(new LinkElementData <RectangleF>(link.Id, link.Href, Utils.Convert(link.Rectangle))); } return(linkElements); }