I have used InsertHyperLink for showing tool tip for text, which is showing the downloaded file path along with tool tip. Can you please provide sample code for giving tool tip to text in both Word and Pdf?
Thanks for your request. You can use code like the following to insert a hyperlink with tool-tip:
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Font.StyleIdentifier = StyleIdentifier.Hyperlink;
builder.InsertField("HYPERLINK \"http://www.aspose.com\" \\o \"This is a tooltip\"", "Aspsoe web site");
Also please note Adobe Acrobat does not show tool-tips.
Thanks for the response. Is there anyway to show up tool tip in Pdf file?
Thanks for your request. No, unfortunately, there is no way to show tooltip of hyperlink in PDF document.