# PdfHtmlExportOptionsFluent

The fluent methods of PdfHtmlExportOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Html.Pdf`

**Namespace**

`OfficeIMO.Html.Pdf`

**Assembly**

`OfficeIMO.Html.Pdf`

**Modifiers**

static

The fluent methods of [PdfHtmlExportOptions](/api/html-pdf/officeimo-html-pdf-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

Filter members 

Show inherited

## Methods

DocumentOutput 2 overloads

`public static PdfHtmlExportOptions DocumentOutput(PdfHtmlExportOptions pdfHtmlExportOptions, OfficeHtmlDocumentOptions value)` [#](#method-documentoutput-officeimo-html-pdf-pdfhtmlexportoptions-officeimo-html-officehtmldocumentoptions)

Sets [PdfHtmlExportOptions.DocumentOutput](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Composed document-versus-fragment, theme, title, language, style, and newline settings.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value OfficeIMO.Html.OfficeHtmlDocumentOptions required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-documentoutput-officeimo-html-pdf-pdfhtmlexportoptions-action-officeimo-html-officehtmldocumentoptions)

Configures [PdfHtmlExportOptions.DocumentOutput](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/) in place (creating it when not set): Composed document-versus-fragment, theme, title, language, style, and newline settings.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**configure System.Action<OfficeIMO.Html.OfficeHtmlDocumentOptions> required**

Configures the value.

Returns

`PdfHtmlExportOptions` The same instance.

`public static PdfHtmlExportOptions DocumentTitleFallback(PdfHtmlExportOptions pdfHtmlExportOptions, string value)` [#](#method-documenttitlefallback-officeimo-html-pdf-pdfhtmlexportoptions-string)

Sets [PdfHtmlExportOptions.DocumentTitleFallback](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): HTML document title used when PDF metadata does not provide one.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value string required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-emitdocumentshell-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.EmitDocumentShell](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Emit a complete HTML document with doctype, html, head, and body wrappers.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-failonloss-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.FailOnLoss](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Rejects fidelity loss before returning HTML or writing its destination.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-imageexportmode-officeimo-html-pdf-pdfhtmlexportoptions-officeimo-html-pdf-pdfhtmlimageexportmode)

Sets [PdfHtmlExportOptions.ImageExportMode](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Controls whether images are emitted as placeholders or embedded data URI image elements when extracted bytes are available.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value OfficeIMO.Html.Pdf.PdfHtmlImageExportMode required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-includedefaultstyles-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.IncludeDefaultStyles](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): 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 required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-includeformwidgets-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.IncludeFormWidgets](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Emit AcroForm widget placeholders. Semantic output emits a form-fields section; positioned output emits positioned form field frames.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-includeimageplaceholders-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.IncludeImagePlaceholders](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Emit readable image output for image XObjects discovered in the logical model.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-includeinlineemphasis-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.IncludeInlineEmphasis](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Preserve bold and italic styling in reflowed semantic text when the PDF style runs match it.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-includeinvisibletextinappearanceoverlay-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.IncludeInvisibleTextInAppearanceOverlay](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Include PDF text that is invisible in the rendered page in the searchable appearance overlay. Defaults to false.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-includelinkannotations-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.IncludeLinkAnnotations](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): 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 required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-includemetadata-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.IncludeMetadata](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Emit document metadata into the HTML head and body where useful.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-includeoutlines-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.IncludeOutlines](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Emit PDF outlines/bookmarks as inert HTML navigation metadata when available.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-includepagecontainers-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.IncludePageContainers](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Emit page containers and page number metadata.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-language-officeimo-html-pdf-pdfhtmlexportoptions-string)

Sets [PdfHtmlExportOptions.Language](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Language override for the HTML root. Null preserves the PDF catalog language.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value string? required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-maxembeddedimagebytes-officeimo-html-pdf-pdfhtmlexportoptions-nullable-system-int64)

Sets [PdfHtmlExportOptions.MaxEmbeddedImageBytes](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): 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 required**

The instance.

**value long? required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-maximumannotationmatchwork-officeimo-html-pdf-pdfhtmlexportoptions-int64)

Sets [PdfHtmlExportOptions.MaximumAnnotationMatchWork](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Maximum annotation-action comparisons per conversion and estimated inline placement work per page.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value long required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-maximumoutputcharacters-officeimo-html-pdf-pdfhtmlexportoptions-nullable-system-int32)

Sets [PdfHtmlExportOptions.MaximumOutputCharacters](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): 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 required**

The instance.

**value int? required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-newline-officeimo-html-pdf-pdfhtmlexportoptions-string)

Sets [PdfHtmlExportOptions.NewLine](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Newline sequence used by generated HTML.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value string required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-pageranges-officeimo-html-pdf-pdfhtmlexportoptions-collections-generic-ireadonlylist-officeimo-pdf-pdfpagerange)

Sets [PdfHtmlExportOptions.PageRanges](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Optional selected source page ranges. When omitted, all pages are exported.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfPageRange>? required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-profile-officeimo-html-pdf-pdfhtmlexportoptions-officeimo-html-pdf-pdfhtmlprofile)

Sets [PdfHtmlExportOptions.Profile](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): HTML export profile. Defaults to semantic HTML.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value OfficeIMO.Html.Pdf.PdfHtmlProfile required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { Profile = value };    pdfHtmlExportOptions.Profile(value);
```

ReadOptions 2 overloads

`public static PdfHtmlExportOptions ReadOptions(PdfHtmlExportOptions pdfHtmlExportOptions, PdfLoadOptions? value)` [#](#method-readoptions-officeimo-html-pdf-pdfhtmlexportoptions-officeimo-pdf-pdfloadoptions)

Sets [PdfHtmlExportOptions.ReadOptions](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Canonical semantic-read settings used when exporting an opened PdfDocument. Null uses PdfLoadOptions. [PdfHtmlExportOptions.PageRanges](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/) 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 required**

The instance.

**value OfficeIMO.Pdf.PdfLoadOptions? required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// 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)` [#](#method-readoptions-officeimo-html-pdf-pdfhtmlexportoptions-action-officeimo-pdf-pdfloadoptions)

Configures [PdfHtmlExportOptions.ReadOptions](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/) in place (creating it when not set): Canonical semantic-read settings used when exporting an opened PdfDocument. Null uses PdfLoadOptions. [PdfHtmlExportOptions.PageRanges](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/) 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 required**

The instance.

**configure System.Action<OfficeIMO.Pdf.PdfLoadOptions> required**

Configures the value.

Returns

`PdfHtmlExportOptions` The same instance.

`public static PdfHtmlExportOptions Theme(PdfHtmlExportOptions pdfHtmlExportOptions, OfficeVisualThemeKind value)` [#](#method-theme-officeimo-html-pdf-pdfhtmlexportoptions-officeimo-drawing-officevisualthemekind)

Sets [PdfHtmlExportOptions.Theme](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Compatibility alias for OfficeHtmlDocumentOptions.Theme.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value OfficeIMO.Drawing.OfficeVisualThemeKind required**

The value.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { Theme = value };    pdfHtmlExportOptions.Theme(value);
```

`public static PdfHtmlExportOptions UseSharedPageReadingOrder(PdfHtmlExportOptions pdfHtmlExportOptions, bool value = true)` [#](#method-usesharedpagereadingorder-officeimo-html-pdf-pdfhtmlexportoptions-boolean)

Sets [PdfHtmlExportOptions.UseSharedPageReadingOrder](/api/html-pdf/officeimo-html-pdf-pdfhtmlexportoptions/): Whether semantic HTML should use the shared crop-, rotation-, and column-aware logical reading order. Positioned review output always retains source geometry.

Parameters

**pdfHtmlExportOptions OfficeIMO.Html.Pdf.PdfHtmlExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfHtmlExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                 // C# fluent
new global::OfficeIMO.Html.Pdf.PdfHtmlExportOptions { UseSharedPageReadingOrder = value };    pdfHtmlExportOptions.UseSharedPageReadingOrder(value);
```

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:F1F61CAC10AB5C97ECEFBB6CEE07ADB99B2B38CAED93B6DC14FAB4165B1BF327 -->
