ChartRasterOptions
ChartForgeX.Core
Fonts, hinting and scale for every raster format. Configure it through ChartOptions.Raster.
Inheritance
- object
- ChartRasterOptions
Usage
Explore 33 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 13
- Property ChartOptions.Raster
- Extension method ChartRasterOptions.FontCollectionIndex
- Extension method ChartRasterOptions.FontFaceName
- Extension method ChartRasterOptions.FontPath
- Extension method ChartRasterOptions.OutputScale
- Extension method ChartRasterOptions.SupersamplingScale
- Extension method ChartRasterOptions.TextHinting
- Method ChartRasterOptionsFluent.FontCollectionIndex
- Method ChartRasterOptionsFluent.FontFaceName
- Method ChartRasterOptionsFluent.FontPath
- Method ChartRasterOptionsFluent.OutputScale
- Method ChartRasterOptionsFluent.SupersamplingScale
- Method ChartRasterOptionsFluent.TextHinting
Accepted by parameters 20
- Extension method Chart.Raster
- Extension method Chart.Raster
- Method ChartFluent.Raster
- Method ChartFluent.Raster
- Extension method ChartOptions.Raster
- Extension method ChartOptions.Raster
- Method ChartOptionsFluent.Raster
- Method ChartOptionsFluent.Raster
- Extension method ChartRasterOptions.FontCollectionIndex
- Extension method ChartRasterOptions.FontFaceName
- Extension method ChartRasterOptions.FontPath
- Extension method ChartRasterOptions.OutputScale
- Extension method ChartRasterOptions.SupersamplingScale
- Extension method ChartRasterOptions.TextHinting
- Method ChartRasterOptionsFluent.FontCollectionIndex
- Method ChartRasterOptionsFluent.FontFaceName
- Method ChartRasterOptionsFluent.FontPath
- Method ChartRasterOptionsFluent.OutputScale
- Method ChartRasterOptionsFluent.SupersamplingScale
- Method ChartRasterOptionsFluent.TextHinting
Constructors
public ChartRasterOptions() #Inherited Methods
Properties
public string? FontPath { get; set; } #Gets or sets the preferred TrueType font file or TrueType collection used by the PNG renderer.
public string? FontFaceName { get; set; } #Gets or sets the optional family, subfamily, full, or PostScript face name used when selecting a PNG font.
public int? FontCollectionIndex { get; set; } #Gets or sets the optional face index used when ChartRasterOptions.FontPath points to a TrueType collection.
public TextHinting TextHinting { get; set; } #Gets or sets how the PNG renderer fits text to the pixel grid.
public int SupersamplingScale { get; set; } #Gets or sets the internal supersampling scale used by the PNG renderer.
public int OutputScale { get; set; } #Gets or sets the output pixel multiplier used by the PNG renderer.
Extension 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
- The instance.
- value int?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value ChartForgeX.Typography.TextHinting
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartRasterOptions { TextHinting = value }; chartRasterOptions.TextHinting(value);