@poojard,
Thanks for your inquiry. Please use FileFormatUtil.DetectFileFormat method to detect the information about a format of a document. The shared document is of type text. Please use following code example get the correct output.
LoadOptions options = new LoadOptions();
options.setLoadFormat(LoadFormat.TEXT);
options.setEncoding(Charset.forName("UnicodeBig"));
Document doc = new Document(MyDir + "test11.docx", options);
doc.save(MyDir + "17.9.pdf");
Moreover, please note that Aspose.Words requires TrueType fonts when rendering documents to fixed-page formats (JPEG, PNG, PDF or XPS). You need to install fonts that are used in your document on the machine where you’re converting documents to PDF. Please refer to the following article:
How Aspose.Words Uses True Type Fonts