Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Enum

RasterImageFormat

Namespace ChartForgeX.Core
Assembly ChartForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Defines dependency-free raster export formats.

Inheritance

  • Enum
  • RasterImageFormat

Usage

Explore 49 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.

Accepted by parameters 42

Values

public const RasterImageFormat Bmp #

Uncompressed 24-bit BMP.

Value: 0
public const RasterImageFormat Ppm #

Binary P6 portable pixmap.

Value: 1
public const RasterImageFormat Tiff #

Baseline uncompressed RGB TIFF.

Value: 2
public const RasterImageFormat Png #

Portable Network Graphics with RGBA alpha.

Value: 3
public const RasterImageFormat Jpeg #

Baseline JPEG flattened against the configured raster background.

Value: 4

Extension Methods

public static String GetFileExtension(RasterImageFormat format) #
Returns: String

Gets the conventional file extension for the raster image format.

Parameters

format ChartForgeX.Core.RasterImageFormat requiredposition: 0
The raster image format.

Returns

The lowercase file extension, including the leading dot.

public static String[] GetFileExtensions(RasterImageFormat format) #
Returns: String[]

Gets all recognized file extensions for the raster image format.

Parameters

format ChartForgeX.Core.RasterImageFormat requiredposition: 0
The raster image format.

Returns

Lowercase file extensions, including leading dots, with the conventional extension first.

public static String GetMimeType(RasterImageFormat format) #
Returns: String

Gets the MIME type for the raster image format.

Parameters

format ChartForgeX.Core.RasterImageFormat requiredposition: 0
The raster image format.

Returns

The MIME content type.

public static Boolean IsSupported(RasterImageFormat format) #
Returns: Boolean

Determines whether the raster image format is currently supported.

Parameters

format ChartForgeX.Core.RasterImageFormat requiredposition: 0
The raster image format.

Returns

True when the format can be encoded; otherwise, false.