HtmlOptions

Overview

HtmlOptions is a interface in Aspose.PDF FOSS for TypeScript.

Options for {@link Page.ToHtml} and {@link Document.ToHtml}.

Properties: annotations, backdrop, backdropScale, box, fonts, forms, and 3 more.

Properties

NameTypeAccessDescription
mode: 'semantic' | 'fixed'ReadReflowable semantic markup, or positioned page reproduction.
box: 'crop' | 'media'ReadWhich page box defines the page size.
annotations: booleanReadComposite annotation and form-field /AP appearances.
fonts: 'map' | 'embed' | 'embed-all'ReadFont handling in fixed mode.
backdrop: 'vector' | 'raster' | 'page'ReadWhat sits behind the text in fixed mode.
backdropScale: numberReadMultiplier on the 72-DPI point size for a raster backdrop.
forms: booleanReadTurn AcroForm fields into real fillable HTML controls.
fragment: booleanReadEmit only body markup, without the doctype/head/CSS shell.
title: stringReadtext.</td> </tr> </tbody> </table> </div> <div class="hx-mt-16"></div> </main> </article> </div> <script defer src="/js/main.min.d0f0346255ba9418db8fcf7f9440ca4e532e06276d8df17497e19e1045ee360b.js" integrity="sha256-0PA0YlW6lBjbj89/lEDKTlMuBidtjfF0l+GeEEXuNgs="></script> <script defer src="/lib/flexsearch/flexsearch.bundle.min.e45e7eb129aae9f684e7f863bb7c1d612ea124b7068e12af80c58c62764a5379.js" integrity="sha256-5F5+sSmq6faE5/hju3wdYS6hJLcGjhKvgMWMYnZKU3k="></script> <script defer src="/en.search.min.cd5d03aec50e8d51e3d1701ff69be8572880cd913b642d1158a6b2a3e4e34db5.js" integrity="sha256-zV0DrsUOjVHj0XAf9pvoVyiAzZE7ZC0RWKayo+TjTbU="></script> <script> (function(i, s, o, g, r, a, m) { i['ContainerizeMenuObject'] = r; i[r] = i[r] || function() { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.append(a) })(window, document, 'script', 'https://menucdn.containerize.com/core/engine.min.js?v=1.0.1', 'asposeorg-en'); </script> </body> </html>