# MermaidGanttRenderOptions

Defines conversion and rendering defaults for Mermaid Gantt diagrams.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidGanttRendering.cs:148](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L148)

**Base**

`MermaidDiagramRenderOptions`

**Modifiers**

sealed

Defines conversion and rendering defaults for Mermaid Gantt diagrams.

## Inheritance

- [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)
- MermaidGanttRenderOptions

## Usage

 Explore 9 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 1

- Property [MermaidRenderOptions.Gantt](/api/chartforgex-mermaid-mermaidrenderoptions/#property-gantt)

### Accepted by parameters 8

- Extension method [MermaidGanttDocument.ToChart](/api/chartforgex-mermaid-mermaidganttdocument/#extension-tochart-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) parameter `options`
- Extension method [MermaidGanttDocument.ToPng](/api/chartforgex-mermaid-mermaidganttdocument/#extension-topng-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) parameter `options`
- Extension method [MermaidGanttDocument.ToSvg](/api/chartforgex-mermaid-mermaidganttdocument/#extension-tosvg-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) parameter `options`
- Extension method [MermaidGanttDocument.ToVisualArtifact](/api/chartforgex-mermaid-mermaidganttdocument/#extension-tovisualartifact-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) parameter `options`
- Method [MermaidGanttRendering.ToChart](/api/chartforgex-mermaid-mermaidganttrendering/#method-tochart-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) parameter `options`
- Method [MermaidGanttRendering.ToPng](/api/chartforgex-mermaid-mermaidganttrendering/#method-topng-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) parameter `options`
- Method [MermaidGanttRendering.ToSvg](/api/chartforgex-mermaid-mermaidganttrendering/#method-tosvg-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) parameter `options`
- Method [MermaidGanttRendering.ToVisualArtifact](/api/chartforgex-mermaid-mermaidganttrendering/#method-tovisualartifact-chartforgex-mermaid-mermaidganttdocument-chartforgex-mermaid-mermaidganttrenderoptions) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

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

[MermaidGanttRendering.cs:148](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L148)

## Inherited Methods

 `public MermaidDiagramRenderOptions Clone()` [#](#method-clone) 

[MermaidDiagramRenderOptions.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L15)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

Returns

 `MermaidDiagramRenderOptions` 

 `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 int Width { get; set; }` [#](#property-width) 

[MermaidGanttRendering.cs:148](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L148)

Gets or sets the natural preview width.

 `public int Height { get; set; }` [#](#property-height) 

[MermaidGanttRendering.cs:151](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L151)

Gets or sets the natural preview height.

 `public DateTime? Today { get; set; }` [#](#property-today) 

[MermaidGanttRendering.cs:154](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L154)

Gets or sets an optional current-day marker.

 `public ChartStrokeStyle? TodayStyle { get; set; }` [#](#property-todaystyle) 

[MermaidGanttRendering.cs:157](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGanttRendering.cs#L157)

Gets or sets a native today-line stroke override. A supplied style takes precedence over source styling; source off still hides the guide.

## Inherited Properties

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

[MermaidDiagramRenderOptions.cs:6](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L6)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

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

[MermaidDiagramRenderOptions.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L8)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

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

[MermaidDiagramRenderOptions.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L10)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

 `public MermaidPresentationOptions? Presentation { get; set; }` [#](#property-presentation) 

[MermaidDiagramRenderOptions.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L12)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

<!-- PowerForge markdown artifact sha256:0071F522E03187D3C4FBAD3B3A3588A66BC0580FD33D4F065174C08ED9B3B75A -->
