# VennDiagramBlockFluent

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

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [VennDiagramBlock](/api/chartforgex-visualblocks-venndiagramblock/), 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
- VennDiagramBlockFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static VennDiagramBlock Accessibility(VennDiagramBlock vennDiagramBlock, Action<VisualAccessibility> configure)` [#](#method-accessibility-chartforgex-visualblocks-venndiagramblock-action-chartforgex-accessibility-visualaccessibility) 

Configures [VisualBlockOptions.Accessibility](/api/chartforgex-visualblocks-visualblockoptions/) in place: Gets the text alternative, language, and decorative metadata used by static exports.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**configure System.Action<ChartForgeX.Accessibility.VisualAccessibility> required**

Configures the value.

Returns

 `VennDiagramBlock` The same instance. 

 `public static VennDiagramBlock HostOwnsFrame(VennDiagramBlock vennDiagramBlock, bool value = true)` [#](#method-hostownsframe-chartforgex-visualblocks-venndiagramblock-boolean) 

Sets [VisualBlockOptions.HostOwnsFrame](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets whether the host owns the frame, removing the surface and outer padding.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                         // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.HostOwnsFrame = value;    vennDiagramBlock.HostOwnsFrame(value);
```

 `public static VennDiagramBlock Options(VennDiagramBlock vennDiagramBlock, Action<VisualBlockOptions> configure)` [#](#method-options-chartforgex-visualblocks-venndiagramblock-action-chartforgex-visualblocks-visualblockoptions) 

Configures VisualBlock<VennDiagramBlock>.Options in place: Gets shared rendering options.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions> required**

Configures the value.

Returns

 `VennDiagramBlock` The same instance. 

 `public static VennDiagramBlock Padding(VennDiagramBlock vennDiagramBlock, ChartPadding value)` [#](#method-padding-chartforgex-visualblocks-venndiagramblock-chartforgex-primitives-chartpadding) 

Sets [VisualBlockOptions.Padding](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the inner content padding.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value ChartForgeX.Primitives.ChartPadding required**

The value.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                   // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.Padding = value;    vennDiagramBlock.Padding(value);
```

 `public static VennDiagramBlock RasterScale(VennDiagramBlock vennDiagramBlock, int value)` [#](#method-rasterscale-chartforgex-visualblocks-venndiagramblock-int32) 

Sets [VisualBlockOptions.RasterScale](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the output pixel multiplier used by PNG exports.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value int required**

The value.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                       // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.RasterScale = value;    vennDiagramBlock.RasterScale(value);
```

 `public static VennDiagramBlock ShowCard(VennDiagramBlock vennDiagramBlock, bool value = true)` [#](#method-showcard-chartforgex-visualblocks-venndiagramblock-boolean) 

Sets [VisualBlockOptions.ShowCard](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets whether the outer card surface should be rendered.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                    // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.ShowCard = value;    vennDiagramBlock.ShowCard(value);
```

 `public static VennDiagramBlock Size(VennDiagramBlock vennDiagramBlock, ChartSize value)` [#](#method-size-chartforgex-visualblocks-venndiagramblock-chartforgex-primitives-chartsize) 

Sets [VisualBlockOptions.Size](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the rendered block size in pixels.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value ChartForgeX.Primitives.ChartSize required**

The value.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.Size = value;    vennDiagramBlock.Size(value);
```

 `public static VennDiagramBlock Subtitle(VennDiagramBlock vennDiagramBlock, string value)` [#](#method-subtitle-chartforgex-visualblocks-venndiagramblock-string) 

Sets VisualBlock<VennDiagramBlock>.Subtitle: Gets or sets the block subtitle.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value string required**

The value.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.VisualBlocks.VennDiagramBlock { Subtitle = value };    vennDiagramBlock.Subtitle(value);
```

 `public static VennDiagramBlock SvgColorVariables(VennDiagramBlock vennDiagramBlock, SvgColorVariables? value)` [#](#method-svgcolorvariables-chartforgex-visualblocks-venndiagramblock-chartforgex-themes-svgcolorvariables) 

Sets [VisualBlockOptions.SvgColorVariables](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the CSS custom properties SVG output writes for theme colours, matched by colour value (see [SvgColorVariables.Apply](/api/chartforgex-themes-svgcolorvariables/)), for example [SvgColorVariables.SharedRoles](/api/chartforgex-themes-svgcolorvariables/) of this theme and mode. Null (the default) writes literal colours; PNG output always does.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value ChartForgeX.Themes.SvgColorVariables? required**

The value.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                             // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.SvgColorVariables = value;    vennDiagramBlock.SvgColorVariables(value);
```

 `public static VennDiagramBlock Theme(VennDiagramBlock vennDiagramBlock, VisualTheme value)` [#](#method-theme-chartforgex-visualblocks-venndiagramblock-chartforgex-themes-visualtheme) 

Sets [VisualBlockOptions.Theme](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the visual theme used by renderers.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value ChartForgeX.Themes.VisualTheme required**

The value.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                 // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.Theme = value;    vennDiagramBlock.Theme(value);
```

 `public static VennDiagramBlock ThemeMode(VennDiagramBlock vennDiagramBlock, ThemeMode value)` [#](#method-thememode-chartforgex-visualblocks-venndiagramblock-chartforgex-thememode) 

Sets [VisualBlockOptions.ThemeMode](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the explicit mode of the shared theme.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value ChartForgeX.ThemeMode required**

The value.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                     // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.ThemeMode = value;    vennDiagramBlock.ThemeMode(value);
```

 `public static VennDiagramBlock Title(VennDiagramBlock vennDiagramBlock, string value)` [#](#method-title-chartforgex-visualblocks-venndiagramblock-string) 

Sets VisualBlock<VennDiagramBlock>.Title: Gets or sets the block title.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value string required**

The value.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.VisualBlocks.VennDiagramBlock { Title = value };    vennDiagramBlock.Title(value);
```

 `public static VennDiagramBlock TransparentBackground(VennDiagramBlock vennDiagramBlock, bool value = true)` [#](#method-transparentbackground-chartforgex-visualblocks-venndiagramblock-boolean) 

Sets [VisualBlockOptions.TransparentBackground](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets whether the full background should stay transparent.

Parameters

**vennDiagramBlock ChartForgeX.VisualBlocks.VennDiagramBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `VennDiagramBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                                 // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.VennDiagramBlock>)vennDiagramBlock).Options.TransparentBackground = value;    vennDiagramBlock.TransparentBackground(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:DE516DA2E7C8F580114EDADB6D71C410479B41CA23329DF42FE028C3287A3730 -->
