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
| Name | Type | Access | Description |
|---|---|---|---|
mode | : 'semantic' | 'fixed' | Read | Reflowable semantic markup, or positioned page reproduction. |
box | : 'crop' | 'media' | Read | Which page box defines the page size. |
annotations | : boolean | Read | Composite annotation and form-field /AP appearances. |
fonts | : 'map' | 'embed' | 'embed-all' | Read | Font handling in fixed mode. |
backdrop | : 'vector' | 'raster' | 'page' | Read | What sits behind the text in fixed mode. |
backdropScale | : number | Read | Multiplier on the 72-DPI point size for a raster backdrop. |
forms | : boolean | Read | Turn AcroForm fields into real fillable HTML controls. |
fragment | : boolean | Read | Emit only body markup, without the doctype/head/CSS shell. |
title | : string | Read |