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

Free Support Forum - aspose.com

Read Docs Failed

Hi, i am unable to read docs file. i am using this function
public  void ReadDocsFile()
{
    try {
        Document doc = new Document(path);
        int count = doc.getPageCount();
        tv.setText(count+"");
    }
    catch (Exception e)
    {
       Toast.makeText(this , "Unable to open file" , Toast.LENGTH_SHORT).show();
    }

please help


Hi Haroon,


Thank you for contacting support. Please attach your source document file in this forum thread for testing purposes. We’ll check and reply you accordingly. Please also let us know your development platform.