Hello Aneesh,
Please try using the following code snippet to accomplish your requirement.
[C#]
//Instantiate a pdf document
Pdf pdf1 = new Pdf();
//Create a section in the Pdf object
Aspose.Pdf.Section sec1 = pdf1.Sections.Add();
Aspose.Pdf.Image image1 = new Aspose.Pdf.Image();
//Set the path of image file
image1.ImageInfo.File = "d:/pdftest/Aspose.jpg";
//Set the type of image using ImageFileType enumeration
image1.ImageInfo.ImageFileType = ImageFileType.Jpeg;
//Assign a new instance of hyperlink to hyperlink property of segment
image1.Hyperlink = new Aspose.Pdf.Hyperlink();
//Set the link type of the text segment to File
image1.Hyperlink.LinkType = HyperlinkType.File;
//Set the path of the external Non-Pdf file
image1.Hyperlink.LinkFile = "d:/pdftest/SoftCoTest.docx";
//Add image object into the Paragraphs collection of the section
sec1.Paragraphs.Add(image1);
//Save the pdf document
pdf1.Save(@"D:\pdftest\Icon_Hyperlink.pdf");
In case it does not satisfy your requirement or you have any further query, please feel free to contact.