# MermaidBlockRenderOptions

Defines conversion and rendering defaults for Mermaid block diagrams.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidBlockRendering.cs:116](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockRendering.cs#L116)

**Base**

`MermaidDiagramRenderOptions`

**Modifiers**

sealed

Defines conversion and rendering defaults for Mermaid block diagrams.

## Inheritance

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

## 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.Block](/api/chartforgex-mermaid-mermaidrenderoptions/#property-block)

### Accepted by parameters 8

- Extension method [MermaidBlockDocument.ToBlockLayoutBlock](/api/chartforgex-mermaid-mermaidblockdocument/#extension-toblocklayoutblock-chartforgex-mermaid-mermaidblockdocument-chartforgex-mermaid-mermaidblockrenderoptions) parameter `options`
- Extension method [MermaidBlockDocument.ToPng](/api/chartforgex-mermaid-mermaidblockdocument/#extension-topng-chartforgex-mermaid-mermaidblockdocument-chartforgex-mermaid-mermaidblockrenderoptions) parameter `options`
- Extension method [MermaidBlockDocument.ToSvg](/api/chartforgex-mermaid-mermaidblockdocument/#extension-tosvg-chartforgex-mermaid-mermaidblockdocument-chartforgex-mermaid-mermaidblockrenderoptions) parameter `options`
- Extension method [MermaidBlockDocument.ToVisualArtifact](/api/chartforgex-mermaid-mermaidblockdocument/#extension-tovisualartifact-chartforgex-mermaid-mermaidblockdocument-chartforgex-mermaid-mermaidblockrenderoptions) parameter `options`
- Method [MermaidBlockRendering.ToBlockLayoutBlock](/api/chartforgex-mermaid-mermaidblockrendering/#method-toblocklayoutblock-chartforgex-mermaid-mermaidblockdocument-chartforgex-mermaid-mermaidblockrenderoptions) parameter `options`
- Method [MermaidBlockRendering.ToPng](/api/chartforgex-mermaid-mermaidblockrendering/#method-topng-chartforgex-mermaid-mermaidblockdocument-chartforgex-mermaid-mermaidblockrenderoptions) parameter `options`
- Method [MermaidBlockRendering.ToSvg](/api/chartforgex-mermaid-mermaidblockrendering/#method-tosvg-chartforgex-mermaid-mermaidblockdocument-chartforgex-mermaid-mermaidblockrenderoptions) parameter `options`
- Method [MermaidBlockRendering.ToVisualArtifact](/api/chartforgex-mermaid-mermaidblockrendering/#method-tovisualartifact-chartforgex-mermaid-mermaidblockdocument-chartforgex-mermaid-mermaidblockrenderoptions) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

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

[MermaidBlockRendering.cs:116](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockRendering.cs#L116)

## 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) 

[MermaidBlockRendering.cs:116](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockRendering.cs#L116)

Gets or sets the natural preview width.

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

[MermaidBlockRendering.cs:121](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockRendering.cs#L121)

Gets or sets a fixed preview height. Null ends the frame where its rows stop growing, up to 420.

 `public double Padding { get; set; }` [#](#property-padding) 

[MermaidBlockRendering.cs:124](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockRendering.cs#L124)

Gets or sets the inner preview padding.

 `public int Columns { get; set; }` [#](#property-columns) 

[MermaidBlockRendering.cs:127](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockRendering.cs#L127)

Gets or sets the default column count when source omits a column declaration.

 `public bool ShowEdges { get; set; }` [#](#property-showedges) 

[MermaidBlockRendering.cs:130](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockRendering.cs#L130)

Gets or sets whether parsed block edges are rendered.

## 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:3838860CCFD8FBEFCEA4FFF9E893E7F41D3B441FE59D3DF46D7164DD6EA20F0E -->
