# RasterFontInfo

Describes the font that ChartForgeX will use for PNG text rendering.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[PngFontInfo.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L21)

**Modifiers**

sealed

Describes the font that ChartForgeX will use for PNG text rendering.

## Inheritance

- object
- RasterFontInfo

## Usage

 Explore 4 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 4

- Method [ChartExtensions.GetRasterFontInfo](/api/chartforgex-chartextensions/#method-getrasterfontinfo-chartforgex-core-chart)
- Extension method [Chart.GetRasterFontInfo](/api/chartforgex-core-chart/#extension-getrasterfontinfo-chartforgex-core-chart)
- Extension method [TopologyChart.GetRasterFontInfo](/api/chartforgex-topology-topologychart/#extension-getrasterfontinfo-chartforgex-topology-topologychart)
- Method [TopologyChartExtensions.GetRasterFontInfo](/api/chartforgex-topology-topologychartextensions/#method-getrasterfontinfo-chartforgex-topology-topologychart)

 Filter members   

    Show inherited   

 

## 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?` 

## Properties

 `public RasterFontSource Source { get; }` [#](#property-source) 

[PngFontInfo.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L21)

Gets the selected PNG font source.

 `public bool UsesOutlineFont { get; }` [#](#property-usesoutlinefont) 

[PngFontInfo.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L26)

Gets a value indicating whether PNG text will render from TrueType outlines.

 `public string? ThemeFontFamily { get; }` [#](#property-themefontfamily) 

[PngFontInfo.cs:31](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L31)

Gets the SVG/HTML font-family stack used to select an automatic PNG font.

 `public string? RequestedPath { get; }` [#](#property-requestedpath) 

[PngFontInfo.cs:36](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L36)

Gets the requested PNG font path, if one was configured.

 `public int? RequestedCollectionIndex { get; }` [#](#property-requestedcollectionindex) 

[PngFontInfo.cs:41](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L41)

Gets the requested TrueType collection index, if one was configured.

 `public string? RequestedFaceName { get; }` [#](#property-requestedfacename) 

[PngFontInfo.cs:46](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L46)

Gets the requested font face name, if one was configured.

 `public string? ResolvedPath { get; }` [#](#property-resolvedpath) 

[PngFontInfo.cs:51](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L51)

Gets the resolved font path, or null when the built-in fallback font will be used.

 `public int? ResolvedCollectionIndex { get; }` [#](#property-resolvedcollectionindex) 

[PngFontInfo.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L56)

Gets the resolved collection index when it is known.

 `public string? ResolvedFaceName { get; }` [#](#property-resolvedfacename) 

[PngFontInfo.cs:61](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/PngFontInfo.cs#L61)

Gets the resolved face name when it is known.

<!-- PowerForge markdown artifact sha256:87033717FB1A12E01AD51F44CF003157685199323B880AD5B3FB93AC69991AC9 -->
