Skip to main content
Participating Frequently
March 6, 2024
Answered

How to retain text formatting for Extract text from PDF using API service

  • March 6, 2024
  • 1 reply
  • 1441 views

Hi Team,

 

I've issues to extract the text with formatting from PDF using Adobe PDF Export API. 

 

In the extract json file showing the text and font for entrire para and not showing to apply the formatting for the particular word like Bold, Italic, underline etc...

 

Please check and suggest me to retain the formatting.

 

    This topic has been closed for replies.
    Correct answer Joel Geraci

    If you turn on styles, Extract will crate spans for each style in the paragraph. Se ethe SDK samples that end with "with-styling-info-from-pdf". Or if you are using the REST API directly, set "includeStyling" to true.  

    1 reply

    Joel Geraci
    Community Expert
    Joel GeraciCommunity ExpertCorrect answer
    Community Expert
    March 6, 2024

    If you turn on styles, Extract will crate spans for each style in the paragraph. Se ethe SDK samples that end with "with-styling-info-from-pdf". Or if you are using the REST API directly, set "includeStyling" to true.  

    Participating Frequently
    March 7, 2024

    I'm using API in Python. I'll try with your suggestion.