TTS in your product?

Convert PDF to audio for free and uses a natural TTS engine in your product???

@hbhur102

Can you please clarify what specific functionality you are looking for regarding TTS in Aspose products? Are you asking if Aspose provides a feature to convert PDF documents to audio using TTS?

@hbhur102,

I think you could give our Speechise app a try.

I want to make the audio book from pdf file
Can I get the text from pdf file using your library…

Would you give me the sample source???

@hbhur102,

You may use Aspose.PDF for .NET to extract text from PDF file. See the following sample code for your reference.

//Load the PDF document
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document("input.pdf");

//Create a TextAbsorber object
Aspose.Pdf.Text.TextAbsorber textAbsorber = new Aspose.Pdf.Text.TextAbsorber();

//Accept the absorber for all the pages
pdfDocument.Pages.Accept(textAbsorber);

//Get the extracted text
string extractedText = textAbsorber.Text;

//Define the output file path
string outputPath = @"e:\\test2\AsposeText.txt";

//Write the extracted text to the file if you want
File.WriteAllText(outputPath, extractedText);

Hope, this helps a bit.