API Reference
PdfToHtmlOptions
Options for exporting parser-supported PDFs to HTML through the first-party OfficeIMO logical PDF model.
Inheritance
- Object
- PdfToHtmlOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method PdfHtmlConverterExtensions.SaveAsHtml
- Method PdfHtmlConverterExtensions.SaveAsHtml
- Method PdfHtmlConverterExtensions.SaveAsHtml
- Method PdfHtmlConverterExtensions.SaveAsHtml
- Method PdfHtmlConverterExtensions.SaveAsHtmlAsync
- Method PdfHtmlConverterExtensions.SaveAsHtmlAsync
- Method PdfHtmlConverterExtensions.SaveAsHtmlAsync
- Method PdfHtmlConverterExtensions.SaveAsHtmlAsync
- Method PdfHtmlConverterExtensions.ToHtml
- Method PdfHtmlConverterExtensions.ToHtml
- Method PdfHtmlConverterExtensions.ToHtmlResult
- Method PdfHtmlConverterExtensions.ToHtmlResult
Constructors
public PdfToHtmlOptions() #Methods
public static PdfToHtmlOptions CreatePositionedReviewProfile(OfficeVisualThemeKind theme = Report) #PdfToHtmlOptionsCreates positioned PDF review HTML with page geometry, images, links, and form widgets enabled. The output remains inert review HTML and never executes PDF actions or JavaScript.
Parameters
- theme OfficeIMO.Drawing.OfficeVisualThemeKind = Report
public static PdfToHtmlOptions CreateSemanticProfile(OfficeVisualThemeKind theme = Report) #PdfToHtmlOptionsCreates polished semantic PDF review HTML using the shared OfficeIMO document shell.
Parameters
- theme OfficeIMO.Drawing.OfficeVisualThemeKind = Report
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public PdfHtmlProfile Profile { get; set; } #HTML export profile. Defaults to semantic HTML.
public PdfReadOptions ReadOptions { get; set; } #Canonical semantic-read settings used when exporting an opened PdfDocument. Null uses Default. PageRanges overrides the configured PageSelection when both are supplied. This setting is ignored when the source is already a PdfDocumentReadResult.
public OfficeHtmlDocumentOptions DocumentOutput { get; set; } #Composed document-versus-fragment, theme, title, language, style, and newline settings.
public OfficeVisualThemeKind Theme { get; set; } #Compatibility alias for Theme.
public Boolean IncludeDefaultStyles { get; set; } #Emit the shared responsive OfficeIMO theme and adapter presentation styles. Positioned output always retains the minimum structural CSS required to preserve source geometry.
public IReadOnlyList<PdfPageRange> PageRanges { get; set; } #Optional selected source page ranges. When omitted, all pages are exported.
public Boolean IncludeMetadata { get; set; } #Emit document metadata into the HTML head and body where useful.
public Boolean IncludeOutlines { get; set; } #Emit PDF outlines/bookmarks as inert HTML navigation metadata when available.
public Boolean IncludePageContainers { get; set; } #Emit page containers and page number metadata.
public Boolean IncludeImagePlaceholders { get; set; } #Emit readable image output for image XObjects discovered in the logical model.
public PdfHtmlImageExportMode ImageExportMode { get; set; } #Controls whether images are emitted as placeholders or embedded data URI image elements when extracted bytes are available.
public Nullable<Int64> MaxEmbeddedImageBytes { get; set; } #Maximum extracted image byte length that may be embedded into generated HTML. Set to null to disable this guard.
public Nullable<Int32> MaximumOutputCharacters { get; set; } #Maximum UTF-16 characters retained by generated HTML. Defaults to 32 million; set to null to disable this guard for trusted input.
public Int64 MaximumAnnotationMatchWork { get; set; } #Maximum link comparisons while accounting for annotation actions in one conversion.
public Boolean IncludeLinkAnnotations { get; set; } #Emit link annotation placeholders. Semantic output emits a links section; positioned output emits positioned link frames.
public Boolean IncludeFormWidgets { get; set; } #Emit AcroForm widget placeholders. Semantic output emits a form-fields section; positioned output emits positioned form field frames.
public Boolean IncludeInvisibleTextInAppearanceOverlay { get; set; } #Include PDF text that is invisible in the rendered page in the searchable appearance overlay. Defaults to false.
public Boolean EmitDocumentShell { get; set; } #Emit a complete HTML document with doctype, html, head, and body wrappers.
public String DocumentTitleFallback { get; set; } #HTML document title used when PDF metadata does not provide one.
public String Language { get; set; } #Language override for the HTML root. Null preserves the PDF catalog language.
public String NewLine { get; set; } #Newline sequence used by generated HTML.