# ChartRasterOptionsFluent

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

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [ChartRasterOptions](/api/chartforgex-core-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

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartRasterOptions FontCollectionIndex(ChartRasterOptions chartRasterOptions, int? value)` [#](#method-fontcollectionindex-chartforgex-core-chartrasteroptions-nullable-system-int32) 

Sets [ChartRasterOptions.FontCollectionIndex](/api/chartforgex-core-chartrasteroptions/): Gets or sets the optional face index used when [ChartRasterOptions.FontPath](/api/chartforgex-core-chartrasteroptions/) points to a TrueType collection.

Parameters

**chartRasterOptions ChartForgeX.Core.ChartRasterOptions required**

The instance.

**value int? required**

The value.

Returns

 `ChartRasterOptions` The same instance. 

Examples

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

 `public static ChartRasterOptions FontFaceName(ChartRasterOptions chartRasterOptions, string? value)` [#](#method-fontfacename-chartforgex-core-chartrasteroptions-string) 

Sets [ChartRasterOptions.FontFaceName](/api/chartforgex-core-chartrasteroptions/): 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

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

 `public static ChartRasterOptions FontPath(ChartRasterOptions chartRasterOptions, string? value)` [#](#method-fontpath-chartforgex-core-chartrasteroptions-string) 

Sets [ChartRasterOptions.FontPath](/api/chartforgex-core-chartrasteroptions/): 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

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

 `public static ChartRasterOptions OutputScale(ChartRasterOptions chartRasterOptions, int value)` [#](#method-outputscale-chartforgex-core-chartrasteroptions-int32) 

Sets [ChartRasterOptions.OutputScale](/api/chartforgex-core-chartrasteroptions/): 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

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

 `public static ChartRasterOptions SupersamplingScale(ChartRasterOptions chartRasterOptions, int value)` [#](#method-supersamplingscale-chartforgex-core-chartrasteroptions-int32) 

Sets [ChartRasterOptions.SupersamplingScale](/api/chartforgex-core-chartrasteroptions/): 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

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

 `public static ChartRasterOptions TextHinting(ChartRasterOptions chartRasterOptions, TextHinting value)` [#](#method-texthinting-chartforgex-core-chartrasteroptions-chartforgex-typography-texthinting) 

Sets [ChartRasterOptions.TextHinting](/api/chartforgex-core-chartrasteroptions/): 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

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartRasterOptions { TextHinting = value };    chartRasterOptions.TextHinting(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:4E4082E7C88DD805CC435A84B74FA18817863FA784C61C58BDFD1023E4A11581 -->
