Skip to content
ChartForgeX
Class

ChartRasterOptionsFluent

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
static

The fluent methods of ChartRasterOptions, 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
  • ChartRasterOptionsFluent

Methods

public static ChartRasterOptions FontCollectionIndex(ChartRasterOptions chartRasterOptions, int? value) #

Sets ChartRasterOptions.FontCollectionIndex: Gets or sets the optional face index used when ChartRasterOptions.FontPath points to a TrueType collection.

Parameters

chartRasterOptions ChartForgeX.Core.ChartRasterOptions required
The instance.
value int? required
The value.

Returns

ChartRasterOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartRasterOptions { FontCollectionIndex = value };    chartRasterOptions.FontCollectionIndex(value);
public static ChartRasterOptions FontFaceName(ChartRasterOptions chartRasterOptions, string? value) #

Sets ChartRasterOptions.FontFaceName: Gets or sets the optional family, subfamily, full, or PostScript face name used when selecting a PNG font.

Parameters

chartRasterOptions ChartForgeX.Core.ChartRasterOptions required
The instance.
value string? required
The value.

Returns

ChartRasterOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Core.ChartRasterOptions { FontFaceName = value };    chartRasterOptions.FontFaceName(value);
public static ChartRasterOptions FontPath(ChartRasterOptions chartRasterOptions, string? value) #

Sets ChartRasterOptions.FontPath: Gets or sets the preferred TrueType font file or TrueType collection used by the PNG renderer.

Parameters

chartRasterOptions ChartForgeX.Core.ChartRasterOptions required
The instance.
value string? required
The value.

Returns

ChartRasterOptions The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartRasterOptions { FontPath = value };    chartRasterOptions.FontPath(value);
public static ChartRasterOptions OutputScale(ChartRasterOptions chartRasterOptions, int value) #

Sets ChartRasterOptions.OutputScale: Gets or sets the output pixel multiplier used by the PNG renderer.

Parameters

chartRasterOptions ChartForgeX.Core.ChartRasterOptions required
The instance.
value int required
The value.

Returns

ChartRasterOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartRasterOptions { OutputScale = value };    chartRasterOptions.OutputScale(value);
public static ChartRasterOptions SupersamplingScale(ChartRasterOptions chartRasterOptions, int value) #

Sets ChartRasterOptions.SupersamplingScale: Gets or sets the internal supersampling scale used by the PNG renderer.

Parameters

chartRasterOptions ChartForgeX.Core.ChartRasterOptions required
The instance.
value int required
The value.

Returns

ChartRasterOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Core.ChartRasterOptions { SupersamplingScale = value };    chartRasterOptions.SupersamplingScale(value);
public static ChartRasterOptions TextHinting(ChartRasterOptions chartRasterOptions, TextHinting value) #

Sets ChartRasterOptions.TextHinting: Gets or sets how the PNG renderer fits text to the pixel grid.

Parameters

chartRasterOptions ChartForgeX.Core.ChartRasterOptions required
The instance.
value ChartForgeX.Typography.TextHinting required
The value.

Returns

ChartRasterOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartRasterOptions { TextHinting = value };    chartRasterOptions.TextHinting(value);