# VisualBlockOptionsFluent

The fluent methods of VisualBlockOptions, 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 [VisualBlockOptions](/api/chartforgex-visualblocks-visualblockoptions/), 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
- VisualBlockOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static VisualBlockOptions Accessibility(VisualBlockOptions visualBlockOptions, Action<VisualAccessibility> configure)` [#](#method-accessibility-chartforgex-visualblocks-visualblockoptions-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

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

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

Configures the value.

Returns

 `VisualBlockOptions` The same instance. 

 `public static VisualBlockOptions HostOwnsFrame(VisualBlockOptions visualBlockOptions, bool value = true)` [#](#method-hostownsframe-chartforgex-visualblocks-visualblockoptions-boolean) 

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

Parameters

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `VisualBlockOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { HostOwnsFrame = value };    visualBlockOptions.HostOwnsFrame(value);
```

 `public static VisualBlockOptions Padding(VisualBlockOptions visualBlockOptions, ChartPadding value)` [#](#method-padding-chartforgex-visualblocks-visualblockoptions-chartforgex-primitives-chartpadding) 

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

Parameters

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

**value ChartForgeX.Primitives.ChartPadding required**

The value.

Returns

 `VisualBlockOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { Padding = value };    visualBlockOptions.Padding(value);
```

 `public static VisualBlockOptions RasterScale(VisualBlockOptions visualBlockOptions, int value)` [#](#method-rasterscale-chartforgex-visualblocks-visualblockoptions-int32) 

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

Parameters

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

**value int required**

The value.

Returns

 `VisualBlockOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { RasterScale = value };    visualBlockOptions.RasterScale(value);
```

 `public static VisualBlockOptions ShowCard(VisualBlockOptions visualBlockOptions, bool value = true)` [#](#method-showcard-chartforgex-visualblocks-visualblockoptions-boolean) 

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

Parameters

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `VisualBlockOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { ShowCard = value };    visualBlockOptions.ShowCard(value);
```

 `public static VisualBlockOptions Size(VisualBlockOptions visualBlockOptions, ChartSize value)` [#](#method-size-chartforgex-visualblocks-visualblockoptions-chartforgex-primitives-chartsize) 

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

Parameters

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

**value ChartForgeX.Primitives.ChartSize required**

The value.

Returns

 `VisualBlockOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { Size = value };    visualBlockOptions.Size(value);
```

 `public static VisualBlockOptions SvgColorVariables(VisualBlockOptions visualBlockOptions, SvgColorVariables? value)` [#](#method-svgcolorvariables-chartforgex-visualblocks-visualblockoptions-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

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

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

The value.

Returns

 `VisualBlockOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                             // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { SvgColorVariables = value };    visualBlockOptions.SvgColorVariables(value);
```

 `public static VisualBlockOptions Theme(VisualBlockOptions visualBlockOptions, VisualTheme value)` [#](#method-theme-chartforgex-visualblocks-visualblockoptions-chartforgex-themes-visualtheme) 

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

Parameters

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

**value ChartForgeX.Themes.VisualTheme required**

The value.

Returns

 `VisualBlockOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { Theme = value };    visualBlockOptions.Theme(value);
```

 `public static VisualBlockOptions ThemeMode(VisualBlockOptions visualBlockOptions, ThemeMode value)` [#](#method-thememode-chartforgex-visualblocks-visualblockoptions-chartforgex-thememode) 

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

Parameters

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

**value ChartForgeX.ThemeMode required**

The value.

Returns

 `VisualBlockOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { ThemeMode = value };    visualBlockOptions.ThemeMode(value);
```

 `public static VisualBlockOptions TransparentBackground(VisualBlockOptions visualBlockOptions, bool value = true)` [#](#method-transparentbackground-chartforgex-visualblocks-visualblockoptions-boolean) 

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

Parameters

**visualBlockOptions ChartForgeX.VisualBlocks.VisualBlockOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `VisualBlockOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                 // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { TransparentBackground = value };    visualBlockOptions.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:020E43DC39ACD95F4B67B343B0B458B5BFA75A06815212E5F6902CDF3A9CA1DE -->
