Skip to content
ChartForgeX
Class

VisualBlockOptionsFluent

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX
Modifiers
static

The fluent methods of 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

Methods

public static VisualBlockOptions Accessibility(VisualBlockOptions visualBlockOptions, Action<VisualAccessibility> configure) #

Configures VisualBlockOptions.Accessibility 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) #

Sets VisualBlockOptions.HostOwnsFrame: 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

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { HostOwnsFrame = value };    visualBlockOptions.HostOwnsFrame(value);
public static VisualBlockOptions Padding(VisualBlockOptions visualBlockOptions, ChartPadding value) #

Sets VisualBlockOptions.Padding: 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

// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { Padding = value };    visualBlockOptions.Padding(value);
public static VisualBlockOptions RasterScale(VisualBlockOptions visualBlockOptions, int value) #

Sets VisualBlockOptions.RasterScale: 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

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

Sets VisualBlockOptions.ShowCard: 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

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { ShowCard = value };    visualBlockOptions.ShowCard(value);
public static VisualBlockOptions Size(VisualBlockOptions visualBlockOptions, ChartSize value) #

Sets VisualBlockOptions.Size: 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

// C# initializer or property                                                // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { Size = value };    visualBlockOptions.Size(value);
public static VisualBlockOptions SvgColorVariables(VisualBlockOptions visualBlockOptions, SvgColorVariables? value) #

Sets VisualBlockOptions.SvgColorVariables: Gets or sets the CSS custom properties SVG output writes for theme colours, matched by colour value (see SvgColorVariables.Apply), for example SvgColorVariables.SharedRoles 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

// C# initializer or property                                                             // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { SvgColorVariables = value };    visualBlockOptions.SvgColorVariables(value);
public static VisualBlockOptions Theme(VisualBlockOptions visualBlockOptions, VisualTheme value) #

Sets VisualBlockOptions.Theme: 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

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.VisualBlocks.VisualBlockOptions { Theme = value };    visualBlockOptions.Theme(value);
public static VisualBlockOptions ThemeMode(VisualBlockOptions visualBlockOptions, ThemeMode value) #

Sets VisualBlockOptions.ThemeMode: 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

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

Sets VisualBlockOptions.TransparentBackground: 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

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