# HtmlInteractiveDiagramOptions

Holds settings for interactive flow and sequence diagram HTML.

 Class  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Source**

[HtmlInteractiveDiagramOptions.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveDiagramOptions.cs#L9)

**Modifiers**

sealed

**Attributes**

 `Fluent` 

Holds settings for interactive flow and sequence diagram HTML.

## Inheritance

- object
- HtmlInteractiveDiagramOptions

## Usage

 Explore 14 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 4

- Extension method [HtmlInteractiveDiagramOptions.Localization](/api/chartforgex-interactivity-html-htmlinteractivediagramoptions/#extension-localization-chartforgex-interactivity-html-htmlinteractivediagramoptions-action-chartforgex-interactivity-html-htmlchartlocalization)
- Extension method [HtmlInteractiveDiagramOptions.Nonce](/api/chartforgex-interactivity-html-htmlinteractivediagramoptions/#extension-nonce-chartforgex-interactivity-html-htmlinteractivediagramoptions-string)
- Method [HtmlInteractiveDiagramOptionsFluent.Localization](/api/chartforgex-interactivity-html-htmlinteractivediagramoptionsfluent/#method-localization-chartforgex-interactivity-html-htmlinteractivediagramoptions-action-chartforgex-interactivity-html-htmlchartlocalization)
- Method [HtmlInteractiveDiagramOptionsFluent.Nonce](/api/chartforgex-interactivity-html-htmlinteractivediagramoptionsfluent/#method-nonce-chartforgex-interactivity-html-htmlinteractivediagramoptions-string)

### Accepted by parameters 10

- Extension method [HtmlInteractiveDiagramOptions.Localization](/api/chartforgex-interactivity-html-htmlinteractivediagramoptions/#extension-localization-chartforgex-interactivity-html-htmlinteractivediagramoptions-action-chartforgex-interactivity-html-htmlchartlocalization) parameter `htmlInteractiveDiagramOptions`
- Extension method [HtmlInteractiveDiagramOptions.Nonce](/api/chartforgex-interactivity-html-htmlinteractivediagramoptions/#extension-nonce-chartforgex-interactivity-html-htmlinteractivediagramoptions-string) parameter `htmlInteractiveDiagramOptions`
- Method [HtmlInteractiveDiagramOptionsFluent.Localization](/api/chartforgex-interactivity-html-htmlinteractivediagramoptionsfluent/#method-localization-chartforgex-interactivity-html-htmlinteractivediagramoptions-action-chartforgex-interactivity-html-htmlchartlocalization) parameter `htmlInteractiveDiagramOptions`
- Method [HtmlInteractiveDiagramOptionsFluent.Nonce](/api/chartforgex-interactivity-html-htmlinteractivediagramoptionsfluent/#method-nonce-chartforgex-interactivity-html-htmlinteractivediagramoptions-string) parameter `htmlInteractiveDiagramOptions`
- Method [InteractiveDiagramExtensions.ToInteractiveHtmlFragment](/api/chartforgex-interactivity-html-interactivediagramextensions/#method-tointeractivehtmlfragment-chartforgex-visualartifacts-flowartifact-chartforgex-rendering-visualrendercontext-action-chartforgex-interactivity-html-htmlinteractivediagramoptions) parameter `configure`
- Method [InteractiveDiagramExtensions.ToInteractiveHtmlPage](/api/chartforgex-interactivity-html-interactivediagramextensions/#method-tointeractivehtmlpage-chartforgex-visualartifacts-flowartifact-chartforgex-rendering-visualrendercontext-action-chartforgex-interactivity-html-htmlinteractivediagramoptions) parameter `configure`
- Extension method [FlowArtifact.ToInteractiveHtmlFragment](/api/chartforgex-visualartifacts-flowartifact/#extension-tointeractivehtmlfragment-chartforgex-visualartifacts-flowartifact-chartforgex-rendering-visualrendercontext-action-chartforgex-interactivity-html-htmlinteractivediagramoptions) parameter `configure`
- Extension method [FlowArtifact.ToInteractiveHtmlPage](/api/chartforgex-visualartifacts-flowartifact/#extension-tointeractivehtmlpage-chartforgex-visualartifacts-flowartifact-chartforgex-rendering-visualrendercontext-action-chartforgex-interactivity-html-htmlinteractivediagramoptions) parameter `configure`
- Extension method [SequenceArtifact.ToInteractiveHtmlFragment](/api/chartforgex-visualartifacts-sequenceartifact/#extension-tointeractivehtmlfragment-chartforgex-visualartifacts-sequenceartifact-chartforgex-rendering-visualrendercontext-action-chartforgex-interactivity-html-htmlinteractivediagramoptions) parameter `configure`
- Extension method [SequenceArtifact.ToInteractiveHtmlPage](/api/chartforgex-visualartifacts-sequenceartifact/#extension-tointeractivehtmlpage-chartforgex-visualartifacts-sequenceartifact-chartforgex-rendering-visualrendercontext-action-chartforgex-interactivity-html-htmlinteractivediagramoptions) parameter `configure`

 Filter members   

    Show inherited   

 

## Constructors

 `public HtmlInteractiveDiagramOptions()` [#](#constructor-ctor) 

[HtmlInteractiveDiagramOptions.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveDiagramOptions.cs#L9)

## 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?` 

## Properties

 `public HtmlChartLocalization Localization { get; }` [#](#property-localization) 

[HtmlInteractiveDiagramOptions.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveDiagramOptions.cs#L9)

Gets the control messages and their language; authored diagram text is unchanged.

 `public string? Nonce { get; set; }` [#](#property-nonce) 

[HtmlInteractiveDiagramOptions.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveDiagramOptions.cs#L14)

Gets or sets the content security policy nonce. The script element carries it, and the output has no style attributes: inline styles and style elements move into one style element with this nonce (see [HtmlStrictStyles](/api/chartforgex-html-htmlstrictstyles/)), and the runtime restores the inline styles through the CSS object model.

## Extension Methods

 `public static HtmlInteractiveDiagramOptions Localization(HtmlInteractiveDiagramOptions htmlInteractiveDiagramOptions, Action<HtmlChartLocalization> configure)` [#](#extension-localization-chartforgex-interactivity-html-htmlinteractivediagramoptions-action-chartforgex-interactivity-html-htmlchartlocalization) 

Configures [HtmlInteractiveDiagramOptions.Localization](/api/chartforgex-interactivity-html-htmlinteractivediagramoptions/) in place: Gets the control messages and their language; authored diagram text is unchanged.

Parameters

**htmlInteractiveDiagramOptions ChartForgeX.Interactivity.Html.HtmlInteractiveDiagramOptions required**

The instance.

**configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization> required**

Configures the value.

Returns

 `HtmlInteractiveDiagramOptions` The same instance. 

 `public static HtmlInteractiveDiagramOptions Nonce(HtmlInteractiveDiagramOptions htmlInteractiveDiagramOptions, string? value)` [#](#extension-nonce-chartforgex-interactivity-html-htmlinteractivediagramoptions-string) 

Sets [HtmlInteractiveDiagramOptions.Nonce](/api/chartforgex-interactivity-html-htmlinteractivediagramoptions/): Gets or sets the content security policy nonce. The script element carries it, and the output has no style attributes: inline styles and style elements move into one style element with this nonce (see [HtmlStrictStyles](/api/chartforgex-html-htmlstrictstyles/)), and the runtime restores the inline styles through the CSS object model.

Parameters

**htmlInteractiveDiagramOptions ChartForgeX.Interactivity.Html.HtmlInteractiveDiagramOptions required**

The instance.

**value string? required**

The value.

Returns

 `HtmlInteractiveDiagramOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlInteractiveDiagramOptions { Nonce = value };    htmlInteractiveDiagramOptions.Nonce(value);
```

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