When extracting PDF text through Aspose, the text wraps with spaces. Are there any settings that can remove the spaces in the wrap when extracting text?

When extracting PDF text through Aspose, the text wraps with spaces. Are there any settings that can remove the spaces in the wrap when extracting text?

@xuziqi

API extracts the text in the same format in which it is present or was added to the PDF. Once you extract text, you can perform some string operations in C#/Java to obtain desired formatting. In case you are facing some issue that is specific to the API, please share some more details like sample PDF and the sample code snippet. We will test the scenario in our environment and address it accordingly.

1 Like