PdfHtmlExportOptionsFluent
OfficeIMO.Html.Pdf
The fluent methods of PdfHtmlExportOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- PdfHtmlExportOptionsFluent
Methods
public static PdfHtmlExportOptions DocumentOutput(PdfHtmlExportOptions pdfHtmlExportOptions, OfficeHtmlDocumentOptions value) #Sets PdfHtmlExportOptions.DocumentOutput: Composed document-versus-fragment, theme, title, language, style, and newline settings.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value OfficeIMO.Html.OfficeHtmlDocumentOptions
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { DocumentOutput = value }; pdfHtmlExportOptions.DocumentOutput(value);public static PdfHtmlExportOptions DocumentOutput(PdfHtmlExportOptions pdfHtmlExportOptions, Action<OfficeHtmlDocumentOptions> configure) #Configures PdfHtmlExportOptions.DocumentOutput in place (creating it when not set): Composed document-versus-fragment, theme, title, language, style, and newline settings.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- configure System.Action<OfficeIMO.Html.OfficeHtmlDocumentOptions>
- Configures the value.
public static PdfHtmlExportOptions DocumentTitleFallback(PdfHtmlExportOptions pdfHtmlExportOptions, string value) #Sets PdfHtmlExportOptions.DocumentTitleFallback: HTML document title used when PDF metadata does not provide one.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { DocumentTitleFallback = value }; pdfHtmlExportOptions.DocumentTitleFallback(value);public static PdfHtmlExportOptions EmitDocumentShell(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.EmitDocumentShell: Emit a complete HTML document with doctype, html, head, and body wrappers.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { EmitDocumentShell = value }; pdfHtmlExportOptions.EmitDocumentShell(value);public static PdfHtmlExportOptions FailOnLoss(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.FailOnLoss: Rejects fidelity loss before returning HTML or writing its destination.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { FailOnLoss = value }; pdfHtmlExportOptions.FailOnLoss(value);public static PdfHtmlExportOptions ImageExportMode(PdfHtmlExportOptions pdfHtmlExportOptions, PdfHtmlImageExportMode value) #Sets PdfHtmlExportOptions.ImageExportMode: Controls whether images are emitted as placeholders or embedded data URI image elements when extracted bytes are available.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value OfficeIMO.Html.Pdf.PdfHtmlImageExportMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { ImageExportMode = value }; pdfHtmlExportOptions.ImageExportMode(value);public static PdfHtmlExportOptions IncludeDefaultStyles(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.IncludeDefaultStyles: Emit the shared responsive OfficeIMO theme and adapter presentation styles. Positioned output always retains the minimum structural CSS required to preserve source geometry.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { IncludeDefaultStyles = value }; pdfHtmlExportOptions.IncludeDefaultStyles(value);public static PdfHtmlExportOptions IncludeFormWidgets(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.IncludeFormWidgets: Emit AcroForm widget placeholders. Semantic output emits a form-fields section; positioned output emits positioned form field frames.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { IncludeFormWidgets = value }; pdfHtmlExportOptions.IncludeFormWidgets(value);public static PdfHtmlExportOptions IncludeImagePlaceholders(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.IncludeImagePlaceholders: Emit readable image output for image XObjects discovered in the logical model.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { IncludeImagePlaceholders = value }; pdfHtmlExportOptions.IncludeImagePlaceholders(value);public static PdfHtmlExportOptions IncludeInlineEmphasis(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.IncludeInlineEmphasis: Preserve bold and italic styling in reflowed semantic text when the PDF style runs match it.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { IncludeInlineEmphasis = value }; pdfHtmlExportOptions.IncludeInlineEmphasis(value);public static PdfHtmlExportOptions IncludeInvisibleTextInAppearanceOverlay(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.IncludeInvisibleTextInAppearanceOverlay: Include PDF text that is invisible in the rendered page in the searchable appearance overlay. Defaults to false.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { IncludeInvisibleTextInAppearanceOverlay = value }; pdfHtmlExportOptions.IncludeInvisibleTextInAppearanceOverlay(value);public static PdfHtmlExportOptions IncludeLinkAnnotations(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.IncludeLinkAnnotations: Include link annotations. Semantic HTML places safe links on their text when possible and emits separate entries for other annotations. Positioned HTML emits positioned link frames.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { IncludeLinkAnnotations = value }; pdfHtmlExportOptions.IncludeLinkAnnotations(value);public static PdfHtmlExportOptions IncludeMetadata(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.IncludeMetadata: Emit document metadata into the HTML head and body where useful.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { IncludeMetadata = value }; pdfHtmlExportOptions.IncludeMetadata(value);public static PdfHtmlExportOptions IncludeOutlines(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.IncludeOutlines: Emit PDF outlines/bookmarks as inert HTML navigation metadata when available.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { IncludeOutlines = value }; pdfHtmlExportOptions.IncludeOutlines(value);public static PdfHtmlExportOptions IncludePageContainers(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true) #Sets PdfHtmlExportOptions.IncludePageContainers: Emit page containers and page number metadata.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { IncludePageContainers = value }; pdfHtmlExportOptions.IncludePageContainers(value);public static PdfHtmlExportOptions Language(PdfHtmlExportOptions pdfHtmlExportOptions, string? value) #Sets PdfHtmlExportOptions.Language: Language override for the HTML root. Null preserves the PDF catalog language.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { Language = value }; pdfHtmlExportOptions.Language(value);public static PdfHtmlExportOptions MaxEmbeddedImageBytes(PdfHtmlExportOptions pdfHtmlExportOptions, long? value) #Sets PdfHtmlExportOptions.MaxEmbeddedImageBytes: Maximum extracted image byte length that may be embedded into generated HTML. Set to null to disable this guard.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value long?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { MaxEmbeddedImageBytes = value }; pdfHtmlExportOptions.MaxEmbeddedImageBytes(value);public static PdfHtmlExportOptions MaximumAnnotationMatchWork(PdfHtmlExportOptions pdfHtmlExportOptions, long value) #Sets PdfHtmlExportOptions.MaximumAnnotationMatchWork: Maximum annotation-action comparisons per conversion and estimated inline placement work per page.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { MaximumAnnotationMatchWork = value }; pdfHtmlExportOptions.MaximumAnnotationMatchWork(value);public static PdfHtmlExportOptions MaximumOutputCharacters(PdfHtmlExportOptions pdfHtmlExportOptions, int? value) #Sets PdfHtmlExportOptions.MaximumOutputCharacters: Maximum UTF-16 characters retained by generated HTML. Defaults to 32 million; set to null to disable this guard for trusted input.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { MaximumOutputCharacters = value }; pdfHtmlExportOptions.MaximumOutputCharacters(value);public static PdfHtmlExportOptions NewLine(PdfHtmlExportOptions pdfHtmlExportOptions, string value) #Sets PdfHtmlExportOptions.NewLine: Newline sequence used by generated HTML.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { NewLine = value }; pdfHtmlExportOptions.NewLine(value);public static PdfHtmlExportOptions PageRanges(PdfHtmlExportOptions pdfHtmlExportOptions, IReadOnlyList<PdfPageRange>? value) #Sets PdfHtmlExportOptions.PageRanges: Optional selected source page ranges. When omitted, all pages are exported.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfPageRange>?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { PageRanges = value }; pdfHtmlExportOptions.PageRanges(value);public static PdfHtmlExportOptions Profile(PdfHtmlExportOptions pdfHtmlExportOptions, PdfHtmlProfile value) #Sets PdfHtmlExportOptions.Profile: HTML export profile. Defaults to semantic HTML.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value OfficeIMO.Html.Pdf.PdfHtmlProfile
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { Profile = value }; pdfHtmlExportOptions.Profile(value);public static PdfHtmlExportOptions ReadOptions(PdfHtmlExportOptions pdfHtmlExportOptions, PdfLoadOptions? value) #Sets PdfHtmlExportOptions.ReadOptions: 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.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value OfficeIMO.Pdf.PdfLoadOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { ReadOptions = value }; pdfHtmlExportOptions.ReadOptions(value);public static PdfHtmlExportOptions ReadOptions(PdfHtmlExportOptions pdfHtmlExportOptions, Action<PdfLoadOptions> configure) #Configures PdfHtmlExportOptions.ReadOptions in place (creating it when not 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.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfLoadOptions>
- Configures the value.
public static PdfHtmlExportOptions Theme(PdfHtmlExportOptions pdfHtmlExportOptions, OfficeVisualThemeKind value) #Sets PdfHtmlExportOptions.Theme: Compatibility alias for OfficeHtmlDocumentOptions.Theme.
Parameters
- pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions
- The instance.
- value OfficeIMO.Drawing.OfficeVisualThemeKind
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { Theme = value }; pdfHtmlExportOptions.Theme(value);