We’re using the ‘Aspose.Words’ library version 23.2, to build a PDF Document, using the DocumentBuilder
class.
No settings have been overwritten as per the below reference, normal save method is used to save the document as PDF.
https://reference.aspose.com/words/net/aspose.words.saving/
[Relevant Properties]
Explicitly set code to not wrap text.
builder.CellFormat.WrapText = false
Once our Table of Cells is constructed, ensure that columns are fixed width (which we inject for each cell explicitly)
table.AutoFit(AutoFitBehavior.FixedColumnWidths);
The issue is that the PDF only detects the first line of the Url as the hyperlink, rather than to the remainder of the full Url
Image below, where the Url is being truncated at the end of the first line.
(Hovering mouse over first line interprets as hyperlink, but not for the remainder of the link)
Note: Selecting all of the Text within the Cell, copying and pasting into a browser does navigate correctly to the intended link/site.