PdfHtmlExportOptions
OfficeIMO.Html.Pdf
Options for exporting parser-supported PDFs to HTML through the first-party OfficeIMO logical PDF model.
Inheritance
- object
- PdfHtmlExportOptions
Usage
Explore 6 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Accepted by parameters 4
Constructors
public PdfHtmlExportOptions() #Methods
public static PdfHtmlExportOptions CreatePositionedReviewProfile(OfficeVisualThemeKind theme = Report) #Creates 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
Returns
PdfHtmlExportOptionspublic static PdfHtmlExportOptions CreateSemanticProfile(OfficeVisualThemeKind theme = Report) #Creates polished semantic PDF review HTML using the shared OfficeIMO document shell.
Parameters
- theme OfficeIMO.Drawing.OfficeVisualThemeKind = Report
Returns
PdfHtmlExportOptionsInherited Methods
Properties
public bool FailOnLoss { get; set; } #Rejects fidelity loss before returning HTML or writing its destination.
public PdfHtmlProfile Profile { get; set; } #HTML export profile. Defaults to semantic HTML.
public PdfLoadOptions? ReadOptions { get; set; } #Canonical semantic-read settings used when exporting an opened PdfDocument. Null uses PdfLoadOptions. PdfHtmlExportOptions.PageRanges overrides the configured PdfLoadOptions.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 OfficeHtmlDocumentOptions.Theme.
public bool 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 bool IncludeMetadata { get; set; } #Emit document metadata into the HTML head and body where useful.
public bool IncludeOutlines { get; set; } #Emit PDF outlines/bookmarks as inert HTML navigation metadata when available.
public bool IncludePageContainers { get; set; } #Emit page containers and page number metadata.
public bool 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 long? MaxEmbeddedImageBytes { get; set; } #Maximum extracted image byte length that may be embedded into generated HTML. Set to null to disable this guard.
public int? 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 long MaximumAnnotationMatchWork { get; set; } #Maximum link comparisons while accounting for annotation actions in one conversion.
public bool IncludeLinkAnnotations { get; set; } #Emit link annotation placeholders. Semantic output emits a links section; positioned output emits positioned link frames.
public bool IncludeFormWidgets { get; set; } #Emit AcroForm widget placeholders. Semantic output emits a form-fields section; positioned output emits positioned form field frames.
public bool IncludeInvisibleTextInAppearanceOverlay { get; set; } #Include PDF text that is invisible in the rendered page in the searchable appearance overlay. Defaults to false.
public bool 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.