We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

RTF Files Line Count

Dear Team,

I’m using aspose word to get my document line count. Its working fine.

Document doc1 = new Document(ls_fileName);
System.out.println(“countI====>”+doc1.getBuiltInDocumentProperties().getLines());


But shows 0 for rtf files. Kindly let me know the possible solution for this.

Thanks in advance.

Siva.

Hi Siva,


Thanks for your inquiry. Could you please attach your input RTF document here for testing? I will investigate the issue on my side and provide you more information.

Best Regards,