Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

pdf to html python

htmlOutputOptions = HTMLOutputOptions()

# Set e_reflow_paragraphs content reflow setting
htmlOutputOptions.SetContentReflowSetting(HTMLOutputOptions.e_reflow_paragraphs)

# Optionally set to flow paragraphs across the entire browser window.
htmlOutputOptions.SetNoPageWidth(True)

# Convert PDF document to HTML with reflow paragraphs option turned on
# But requires the PDF2HtmlReflowParagraphsModule
Convert.ToHtml(filename, output_filename, htmlOutputOptions)

Copy
Source by www.pdftron.com #
 
PREVIOUS NEXT
Tagged: #pdf #html #python
ADD COMMENT
Topic
Name
1+3 =