API Reference
ChartExtensions
Provides convenience rendering and file export methods for charts.
Inheritance
- Object
- ChartExtensions
Methods
AddChart(ChartForgeX.Composition.VisualCanvas arg1, System.Double arg2, System.Double arg3, System.Double arg4, System.Double arg5, ChartForgeX.Core.Chart arg6, ChartForgeX.Composition.VisualCanvasImageFit arg7, System.Double arg8) #Adds a rendered chart layer to a visual canvas.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
- arg5 System.Double
- arg6 ChartForgeX.Core.Chart
- arg7 ChartForgeX.Composition.VisualCanvasImageFit
- arg8 System.Double
AddChart(ChartForgeX.Composition.VisualCanvas arg1, ChartForgeX.Composition.VisualCanvasPlacement arg2, System.Double arg3, System.Double arg4, ChartForgeX.Core.Chart arg5, ChartForgeX.Composition.VisualCanvasImageFit arg6, System.Double arg7) #Adds a rendered chart layer to a visual canvas using anchor-based placement.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 ChartForgeX.Composition.VisualCanvasPlacement
- arg3 System.Double
- arg4 System.Double
- arg5 ChartForgeX.Core.Chart
- arg6 ChartForgeX.Composition.VisualCanvasImageFit
- arg7 System.Double
AddChartGrid(ChartForgeX.Composition.VisualCanvas arg1, System.Double arg2, System.Double arg3, System.Double arg4, System.Double arg5, ChartForgeX.Core.ChartGrid arg6, ChartForgeX.Composition.VisualCanvasImageFit arg7, System.Double arg8) #Adds a rendered chart grid layer to a visual canvas.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
- arg5 System.Double
- arg6 ChartForgeX.Core.ChartGrid
- arg7 ChartForgeX.Composition.VisualCanvasImageFit
- arg8 System.Double
AddChartGrid(ChartForgeX.Composition.VisualCanvas arg1, ChartForgeX.Composition.VisualCanvasPlacement arg2, System.Double arg3, System.Double arg4, ChartForgeX.Core.ChartGrid arg5, ChartForgeX.Composition.VisualCanvasImageFit arg6, System.Double arg7) #Adds a rendered chart grid layer to a visual canvas using anchor-based placement.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 ChartForgeX.Composition.VisualCanvasPlacement
- arg3 System.Double
- arg4 System.Double
- arg5 ChartForgeX.Core.ChartGrid
- arg6 ChartForgeX.Composition.VisualCanvasImageFit
- arg7 System.Double
AddHeroBadgeImageFile(ChartForgeX.Composition.VisualCanvas arg1, System.Double arg2, System.Double arg3, System.Double arg4, System.Double arg5, System.String arg6, System.String arg7, System.Nullable{ChartForgeX.Primitives.ChartColor} arg8, ChartForgeX.Composition.VisualCanvasImageFit arg9, System.Double arg10, System.Double arg11) #Decodes an image file and adds it as the content of a hero badge.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
- arg5 System.Double
- arg6 System.String
- arg7 System.String
- arg8 System.Nullable{ChartForgeX.Primitives.ChartColor}
- arg9 ChartForgeX.Composition.VisualCanvasImageFit
- arg10 System.Double
- arg11 System.Double
AddHeroBadgeImageFile(ChartForgeX.Composition.VisualCanvas arg1, ChartForgeX.Composition.VisualCanvasPlacement arg2, System.Double arg3, System.Double arg4, System.String arg5, System.String arg6, System.Nullable{ChartForgeX.Primitives.ChartColor} arg7, ChartForgeX.Composition.VisualCanvasImageFit arg8, System.Double arg9, System.Double arg10) #Decodes an image file and adds it as the content of a hero badge using anchor-based placement.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 ChartForgeX.Composition.VisualCanvasPlacement
- arg3 System.Double
- arg4 System.Double
- arg5 System.String
- arg6 System.String
- arg7 System.Nullable{ChartForgeX.Primitives.ChartColor}
- arg8 ChartForgeX.Composition.VisualCanvasImageFit
- arg9 System.Double
- arg10 System.Double
AddImageBytes(ChartForgeX.Composition.VisualCanvas arg1, System.Double arg2, System.Double arg3, System.Double arg4, System.Double arg5, System.Byte[] arg6, ChartForgeX.Composition.VisualCanvasImageFit arg7, System.Double arg8) #Decodes image bytes and adds them as an image layer to a visual canvas.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
- arg5 System.Double
- arg6 System.Byte[]
- arg7 ChartForgeX.Composition.VisualCanvasImageFit
- arg8 System.Double
AddImageBytes(ChartForgeX.Composition.VisualCanvas arg1, ChartForgeX.Composition.VisualCanvasPlacement arg2, System.Double arg3, System.Double arg4, System.Byte[] arg5, ChartForgeX.Composition.VisualCanvasImageFit arg6, System.Double arg7) #Decodes image bytes and adds them as an image layer using anchor-based placement.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 ChartForgeX.Composition.VisualCanvasPlacement
- arg3 System.Double
- arg4 System.Double
- arg5 System.Byte[]
- arg6 ChartForgeX.Composition.VisualCanvasImageFit
- arg7 System.Double
AddImageFile(ChartForgeX.Composition.VisualCanvas arg1, System.Double arg2, System.Double arg3, System.Double arg4, System.Double arg5, System.String arg6, ChartForgeX.Composition.VisualCanvasImageFit arg7, System.Double arg8) #Decodes an image file and adds it as an image layer to a visual canvas.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
- arg5 System.Double
- arg6 System.String
- arg7 ChartForgeX.Composition.VisualCanvasImageFit
- arg8 System.Double
AddImageFile(ChartForgeX.Composition.VisualCanvas arg1, ChartForgeX.Composition.VisualCanvasPlacement arg2, System.Double arg3, System.Double arg4, System.String arg5, ChartForgeX.Composition.VisualCanvasImageFit arg6, System.Double arg7) #Decodes an image file and adds it as an image layer using anchor-based placement.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 ChartForgeX.Composition.VisualCanvasPlacement
- arg3 System.Double
- arg4 System.Double
- arg5 System.String
- arg6 ChartForgeX.Composition.VisualCanvasImageFit
- arg7 System.Double
AddRasterImage(ChartForgeX.Composition.VisualCanvas arg1, System.Double arg2, System.Double arg3, System.Double arg4, System.Double arg5, ChartForgeX.Raster.RgbaImage arg6, ChartForgeX.Composition.VisualCanvasImageFit arg7, System.Double arg8) #Adds decoded RGBA pixels as an image layer to a visual canvas.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
- arg5 System.Double
- arg6 ChartForgeX.Raster.RgbaImage
- arg7 ChartForgeX.Composition.VisualCanvasImageFit
- arg8 System.Double
AddRasterImage(ChartForgeX.Composition.VisualCanvas arg1, ChartForgeX.Composition.VisualCanvasPlacement arg2, System.Double arg3, System.Double arg4, ChartForgeX.Raster.RgbaImage arg5, ChartForgeX.Composition.VisualCanvasImageFit arg6, System.Double arg7) #Adds decoded RGBA pixels as an image layer using anchor-based placement.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 ChartForgeX.Composition.VisualCanvasPlacement
- arg3 System.Double
- arg4 System.Double
- arg5 ChartForgeX.Raster.RgbaImage
- arg6 ChartForgeX.Composition.VisualCanvasImageFit
- arg7 System.Double
AddTopology(ChartForgeX.Composition.VisualCanvas arg1, System.Double arg2, System.Double arg3, System.Double arg4, System.Double arg5, ChartForgeX.Topology.TopologyChart arg6, ChartForgeX.Topology.TopologyRenderOptions arg7, ChartForgeX.Composition.VisualCanvasImageFit arg8, System.Double arg9) #Adds a rendered topology chart layer to a visual canvas.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
- arg5 System.Double
- arg6 ChartForgeX.Topology.TopologyChart
- arg7 ChartForgeX.Topology.TopologyRenderOptions
- arg8 ChartForgeX.Composition.VisualCanvasImageFit
- arg9 System.Double
AddTopology(ChartForgeX.Composition.VisualCanvas arg1, ChartForgeX.Composition.VisualCanvasPlacement arg2, System.Double arg3, System.Double arg4, ChartForgeX.Topology.TopologyChart arg5, ChartForgeX.Topology.TopologyRenderOptions arg6, ChartForgeX.Composition.VisualCanvasImageFit arg7, System.Double arg8) #Adds a rendered topology chart layer to a visual canvas using anchor-based placement.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 ChartForgeX.Composition.VisualCanvasPlacement
- arg3 System.Double
- arg4 System.Double
- arg5 ChartForgeX.Topology.TopologyChart
- arg6 ChartForgeX.Topology.TopologyRenderOptions
- arg7 ChartForgeX.Composition.VisualCanvasImageFit
- arg8 System.Double
AddVisualBlock(ChartForgeX.Composition.VisualCanvas arg1, System.Double arg2, System.Double arg3, System.Double arg4, System.Double arg5, ChartForgeX.VisualBlocks.IVisualBlock arg6, ChartForgeX.Composition.VisualCanvasImageFit arg7, System.Double arg8) #Adds a rendered visual block layer to a visual canvas.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
- arg5 System.Double
- arg6 ChartForgeX.VisualBlocks.IVisualBlock
- arg7 ChartForgeX.Composition.VisualCanvasImageFit
- arg8 System.Double
AddVisualBlock(ChartForgeX.Composition.VisualCanvas arg1, ChartForgeX.Composition.VisualCanvasPlacement arg2, System.Double arg3, System.Double arg4, ChartForgeX.VisualBlocks.IVisualBlock arg5, ChartForgeX.Composition.VisualCanvasImageFit arg6, System.Double arg7) #Adds a rendered visual block layer to a visual canvas using anchor-based placement.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 ChartForgeX.Composition.VisualCanvasPlacement
- arg3 System.Double
- arg4 System.Double
- arg5 ChartForgeX.VisualBlocks.IVisualBlock
- arg6 ChartForgeX.Composition.VisualCanvasImageFit
- arg7 System.Double
AddVisualGrid(ChartForgeX.Composition.VisualCanvas arg1, System.Double arg2, System.Double arg3, System.Double arg4, System.Double arg5, ChartForgeX.VisualBlocks.VisualGrid arg6, ChartForgeX.Composition.VisualCanvasImageFit arg7, System.Double arg8) #Adds a rendered visual grid layer to a visual canvas.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.Double
- arg3 System.Double
- arg4 System.Double
- arg5 System.Double
- arg6 ChartForgeX.VisualBlocks.VisualGrid
- arg7 ChartForgeX.Composition.VisualCanvasImageFit
- arg8 System.Double
AddVisualGrid(ChartForgeX.Composition.VisualCanvas arg1, ChartForgeX.Composition.VisualCanvasPlacement arg2, System.Double arg3, System.Double arg4, ChartForgeX.VisualBlocks.VisualGrid arg5, ChartForgeX.Composition.VisualCanvasImageFit arg6, System.Double arg7) #Adds a rendered visual grid layer to a visual canvas using anchor-based placement.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 ChartForgeX.Composition.VisualCanvasPlacement
- arg3 System.Double
- arg4 System.Double
- arg5 ChartForgeX.VisualBlocks.VisualGrid
- arg6 ChartForgeX.Composition.VisualCanvasImageFit
- arg7 System.Double
GetPngFontInfo(ChartForgeX.Core.Chart chart) #Resolves the font that would be used when rendering the chart to PNG.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to inspect.
Returns
The PNG font resolution details.
Save(ChartForgeX.Core.Chart chart, System.String path, ChartForgeX.Core.RasterImageOptions rasterOptions) #Saves a chart using the output path extension to choose SVG, HTML, PNG, or another raster image format.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- rasterOptions ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Save(ChartForgeX.Core.ChartGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions rasterOptions) #Saves a chart grid using the output path extension to choose SVG, HTML, PNG, or another raster image format.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path System.String
- The output file path.
- rasterOptions ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Save(ChartForgeX.VisualBlocks.IVisualBlock block, System.String path, ChartForgeX.Core.RasterImageOptions rasterOptions) #Saves a visual block using the output path extension to choose SVG, HTML, PNG, or another raster image format.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- path System.String
- The output file path.
- rasterOptions ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Save(ChartForgeX.VisualBlocks.VisualGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions rasterOptions) #Saves a visual grid using the output path extension to choose SVG, HTML, PNG, or another raster image format.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- path System.String
- The output file path.
- rasterOptions ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Save(ChartForgeX.Composition.VisualCanvas canvas, System.String path, ChartForgeX.Core.RasterImageOptions rasterOptions) #Saves a visual canvas using the output path extension to choose SVG, HTML, PNG, or another raster image format.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- path System.String
- The output file path.
- rasterOptions ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveApng(ChartForgeX.Stories.VisualStory arg1, System.String arg2, ChartForgeX.Stories.VisualStoryAnimationOptions arg3) #Saves a visual story as animated PNG.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
- arg2 System.String
- arg3 ChartForgeX.Stories.VisualStoryAnimationOptions
SaveApng(ChartForgeX.Terminal.TerminalStory arg1, System.String arg2, ChartForgeX.Terminal.TerminalStoryAnimationOptions arg3) #Saves a terminal story as an animated PNG.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
- arg2 System.String
- arg3 ChartForgeX.Terminal.TerminalStoryAnimationOptions
SaveBmp(ChartForgeX.Core.Chart chart, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a chart as a BMP file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveBmp(ChartForgeX.Core.ChartGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a chart grid as a BMP file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveBmp(ChartForgeX.VisualBlocks.IVisualBlock block, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a visual block as a BMP file.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveBmp(ChartForgeX.VisualBlocks.VisualGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a visual grid as a BMP file.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveBmp(ChartForgeX.Composition.VisualCanvas arg1, System.String arg2, ChartForgeX.Core.RasterImageOptions arg3) #Saves a visual canvas as a BMP file.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.String
- arg3 ChartForgeX.Core.RasterImageOptions
SaveGif(ChartForgeX.Stories.VisualStory arg1, System.String arg2, ChartForgeX.Stories.VisualStoryAnimationOptions arg3) #Saves a visual story as animated GIF.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
- arg2 System.String
- arg3 ChartForgeX.Stories.VisualStoryAnimationOptions
SaveGif(ChartForgeX.Terminal.TerminalStory arg1, System.String arg2, ChartForgeX.Terminal.TerminalStoryAnimationOptions arg3) #Saves a terminal story as an animated GIF.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
- arg2 System.String
- arg3 ChartForgeX.Terminal.TerminalStoryAnimationOptions
SaveHtml(ChartForgeX.Core.Chart chart, System.String path) #Saves a chart as a complete HTML file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
SaveHtml(ChartForgeX.Core.ChartGrid grid, System.String path) #Saves a chart grid as a complete HTML file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path System.String
- The output file path.
SaveHtml(ChartForgeX.VisualBlocks.IVisualBlock block, System.String path) #Saves a visual block as a complete HTML file.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- path System.String
- The output file path.
SaveHtml(ChartForgeX.VisualBlocks.VisualGrid grid, System.String path) #Saves a visual grid as a complete HTML file.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- path System.String
- The output file path.
SaveHtml(ChartForgeX.Composition.VisualCanvas canvas, System.String path) #Saves a visual canvas as a complete HTML file.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- path System.String
- The output file path.
SaveHtml(ChartForgeX.Terminal.TerminalStory arg1, System.String arg2) #Saves a terminal story as a complete HTML document.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
- arg2 System.String
SavePng(ChartForgeX.Core.Chart chart, System.String path) #Saves a chart as a PNG file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
SavePng(ChartForgeX.Core.ChartGrid grid, System.String path) #Saves a chart grid as a PNG file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path System.String
- The output file path.
SavePng(ChartForgeX.VisualBlocks.IVisualBlock block, System.String path) #Saves a visual block as a PNG file.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- path System.String
- The output file path.
SavePng(ChartForgeX.VisualBlocks.VisualGrid grid, System.String path) #Saves a visual grid as a PNG file.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- path System.String
- The output file path.
SavePng(ChartForgeX.Composition.VisualCanvas canvas, System.String path) #Saves a visual canvas as a PNG file.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- path System.String
- The output file path.
SavePng(ChartForgeX.Stories.VisualStory arg1, System.String arg2) #Saves the completed visual-story scene as PNG.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
- arg2 System.String
SavePng(ChartForgeX.Terminal.TerminalStory arg1, System.String arg2) #Saves the completed state of a terminal story as PNG.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
- arg2 System.String
SavePpm(ChartForgeX.Core.Chart chart, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a chart as a PPM file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SavePpm(ChartForgeX.Core.ChartGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a chart grid as a PPM file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SavePpm(ChartForgeX.VisualBlocks.IVisualBlock block, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a visual block as a PPM file.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SavePpm(ChartForgeX.VisualBlocks.VisualGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a visual grid as a PPM file.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SavePpm(ChartForgeX.Composition.VisualCanvas arg1, System.String arg2, ChartForgeX.Core.RasterImageOptions arg3) #Saves a visual canvas as a PPM file.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.String
- arg3 ChartForgeX.Core.RasterImageOptions
SaveRasterImage(ChartForgeX.Core.Chart chart, System.String path, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Saves a chart as an opaque raster image file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.Core.Chart chart, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a chart as an opaque raster image file using the output path extension to choose the format.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.Core.ChartGrid grid, System.String path, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Saves a chart grid as an opaque raster image file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path System.String
- The output file path.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.Core.ChartGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a chart grid as an opaque raster image file using the output path extension to choose the format.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.VisualBlocks.IVisualBlock block, System.String path, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Saves a visual block as an opaque raster image file.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- path System.String
- The output file path.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.VisualBlocks.IVisualBlock block, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a visual block as an opaque raster image file using the output path extension to choose the format.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.VisualBlocks.VisualGrid grid, System.String path, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Saves a visual grid as an opaque raster image file.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- path System.String
- The output file path.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.VisualBlocks.VisualGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a visual grid as an opaque raster image file using the output path extension to choose the format.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.Composition.VisualCanvas canvas, System.String path, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Saves a visual canvas as an opaque raster image file.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- path System.String
- The output file path.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.Composition.VisualCanvas canvas, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a visual canvas as an opaque raster image file using the output path extension to choose the format.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.Raster.RgbaImage image, System.String path, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Saves RGBA pixels to a dependency-free raster file.
Parameters
- image ChartForgeX.Raster.RgbaImage
- The image to encode.
- path System.String
- The output file path.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveRasterImage(ChartForgeX.Raster.RgbaImage image, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves RGBA pixels to a raster file using the output path extension to choose the format.
Parameters
- image ChartForgeX.Raster.RgbaImage
- The image to encode.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveSvg(ChartForgeX.Core.Chart chart, System.String path) #Saves a chart as an SVG file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
SaveSvg(ChartForgeX.Core.ChartGrid grid, System.String path) #Saves a chart grid as an SVG file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path System.String
- The output file path.
SaveSvg(ChartForgeX.VisualBlocks.IVisualBlock block, System.String path) #Saves a visual block as an SVG file.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- path System.String
- The output file path.
SaveSvg(ChartForgeX.VisualBlocks.VisualGrid grid, System.String path) #Saves a visual grid as an SVG file.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- path System.String
- The output file path.
SaveSvg(ChartForgeX.Composition.VisualCanvas canvas, System.String path) #Saves a visual canvas as an SVG file.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- path System.String
- The output file path.
SaveSvg(ChartForgeX.Stories.VisualStory arg1, System.String arg2) #Saves a visual story as SVG.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
- arg2 System.String
SaveSvg(ChartForgeX.Terminal.TerminalStory arg1, System.String arg2) #Saves a terminal story as SVG.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
- arg2 System.String
SaveTiff(ChartForgeX.Core.Chart chart, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a chart as a TIFF file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveTiff(ChartForgeX.Core.ChartGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a chart grid as a TIFF file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveTiff(ChartForgeX.VisualBlocks.IVisualBlock block, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a visual block as a TIFF file.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveTiff(ChartForgeX.VisualBlocks.VisualGrid grid, System.String path, ChartForgeX.Core.RasterImageOptions options) #Saves a visual grid as a TIFF file.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
SaveTiff(ChartForgeX.Composition.VisualCanvas arg1, System.String arg2, ChartForgeX.Core.RasterImageOptions arg3) #Saves a visual canvas as a TIFF file.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.String
- arg3 ChartForgeX.Core.RasterImageOptions
SaveTranscript(ChartForgeX.Stories.VisualStory arg1, System.String arg2) #Saves a portable plain-text transcript.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
- arg2 System.String
ToApng(ChartForgeX.Stories.VisualStory arg1, ChartForgeX.Stories.VisualStoryAnimationOptions arg2) #Renders a visual story to animated PNG.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
- arg2 ChartForgeX.Stories.VisualStoryAnimationOptions
ToApng(ChartForgeX.Terminal.TerminalStory arg1, ChartForgeX.Terminal.TerminalStoryAnimationOptions arg2) #Renders a terminal story as an animated PNG.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
- arg2 ChartForgeX.Terminal.TerminalStoryAnimationOptions
ToBmp(ChartForgeX.Core.Chart chart, ChartForgeX.Core.RasterImageOptions options) #Renders a chart to BMP bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A BMP image.
ToBmp(ChartForgeX.Core.ChartGrid grid, ChartForgeX.Core.RasterImageOptions options) #Renders a chart grid to BMP bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A BMP image.
ToBmp(ChartForgeX.VisualBlocks.IVisualBlock block, ChartForgeX.Core.RasterImageOptions options) #Renders a visual block to BMP bytes.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A BMP image.
ToBmp(ChartForgeX.VisualBlocks.VisualGrid grid, ChartForgeX.Core.RasterImageOptions options) #Renders a visual grid to BMP bytes.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A BMP image.
ToBmp(ChartForgeX.Composition.VisualCanvas canvas, ChartForgeX.Core.RasterImageOptions options) #Renders a visual canvas to BMP bytes.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A BMP image.
ToGif(ChartForgeX.Raster.RgbaImage image) #Encodes RGBA pixels to GIF bytes using an adaptive palette.
Parameters
- image ChartForgeX.Raster.RgbaImage
- The image to encode.
Returns
A GIF image.
ToGif(ChartForgeX.Stories.VisualStory arg1, ChartForgeX.Stories.VisualStoryAnimationOptions arg2) #Renders a visual story to animated GIF.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
- arg2 ChartForgeX.Stories.VisualStoryAnimationOptions
ToGif(ChartForgeX.Terminal.TerminalStory arg1, ChartForgeX.Terminal.TerminalStoryAnimationOptions arg2) #Renders a terminal story as an animated GIF.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
- arg2 ChartForgeX.Terminal.TerminalStoryAnimationOptions
ToHtmlFragment(ChartForgeX.Core.Chart chart) #Renders a chart to a standalone HTML fragment containing inline SVG.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
An HTML fragment.
ToHtmlFragment(ChartForgeX.Core.Chart chart, System.String idScope) #Renders a chart to an HTML fragment with an additional deterministic ID scope.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- idScope System.String
- A caller-provided scope used to keep IDs unique when embedding equivalent fragments together.
Returns
An HTML fragment.
ToHtmlFragment(ChartForgeX.Core.ChartGrid grid) #Renders a chart grid to a standalone HTML fragment containing inline SVG charts.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
Returns
An HTML fragment.
ToHtmlFragment(ChartForgeX.Core.ChartGrid grid, System.String idScope) #Renders a chart grid to an HTML fragment with an additional deterministic ID scope.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- idScope System.String
- A caller-provided scope used to keep IDs unique when embedding equivalent fragments together.
Returns
An HTML fragment.
ToHtmlFragment(ChartForgeX.VisualBlocks.IVisualBlock block) #Renders a visual block to a standalone HTML fragment containing inline SVG.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
Returns
An HTML fragment.
ToHtmlFragment(ChartForgeX.VisualBlocks.IVisualBlock block, System.String idScope) #Renders a visual block to an HTML fragment with an additional deterministic ID scope.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- idScope System.String
- A caller-provided scope used to keep IDs unique when embedding equivalent fragments together.
Returns
An HTML fragment.
ToHtmlFragment(ChartForgeX.VisualBlocks.VisualGrid grid) #Renders a visual grid to a standalone HTML fragment containing inline SVG charts and visual blocks.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
Returns
An HTML fragment.
ToHtmlFragment(ChartForgeX.VisualBlocks.VisualGrid grid, System.String idScope) #Renders a visual grid to an HTML fragment with an additional deterministic ID scope.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- idScope System.String
- A caller-provided scope used to keep IDs unique when embedding equivalent fragments together.
Returns
An HTML fragment.
ToHtmlFragment(ChartForgeX.Stories.VisualStory arg1) #Renders a visual story as an embeddable HTML fragment.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
ToHtmlFragment(ChartForgeX.Terminal.TerminalStory arg1) #Renders a terminal story as an embeddable HTML fragment.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
ToHtmlFragment(ChartForgeX.Terminal.TerminalStory arg1, System.String arg2) #Renders a terminal story as an embeddable HTML fragment with a deterministic ID scope.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
- arg2 System.String
ToHtmlPage(ChartForgeX.Core.Chart chart) #Renders a chart to a complete HTML document.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
An HTML page.
ToHtmlPage(ChartForgeX.Core.ChartGrid grid) #Renders a chart grid to a complete HTML document.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
Returns
An HTML page.
ToHtmlPage(ChartForgeX.VisualBlocks.IVisualBlock block) #Renders a visual block to a complete HTML document.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
Returns
An HTML page.
ToHtmlPage(ChartForgeX.VisualBlocks.VisualGrid grid) #Renders a visual grid to a complete HTML document.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
Returns
An HTML page.
ToHtmlPage(ChartForgeX.Composition.VisualCanvas canvas) #Renders a visual canvas to a complete HTML document.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
Returns
An HTML page.
ToHtmlPage(ChartForgeX.Stories.VisualStory arg1) #Renders a visual story as a complete HTML document.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
ToHtmlPage(ChartForgeX.Terminal.TerminalStory arg1) #Renders a terminal story as a complete HTML document.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
ToJpeg(ChartForgeX.Raster.RgbaImage image, ChartForgeX.Core.RasterImageOptions options) #Encodes RGBA pixels to JPEG bytes after flattening transparent pixels against the configured background.
Parameters
- image ChartForgeX.Raster.RgbaImage
- The image to encode.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A JPEG image.
ToPng(ChartForgeX.Core.Chart chart) #Renders a chart to PNG bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
A PNG image.
ToPng(ChartForgeX.Core.ChartGrid grid) #Renders a chart grid to PNG bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
Returns
A PNG image.
ToPng(ChartForgeX.VisualBlocks.IVisualBlock block) #Renders a visual block to PNG bytes.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
Returns
A PNG image.
ToPng(ChartForgeX.VisualBlocks.VisualGrid grid) #Renders a visual grid to PNG bytes.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
Returns
A PNG image.
ToPng(ChartForgeX.Composition.VisualCanvas canvas) #Renders a visual canvas to PNG bytes.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
Returns
A PNG image.
ToPng(ChartForgeX.Raster.RgbaImage image) #Encodes RGBA pixels to PNG bytes.
Parameters
- image ChartForgeX.Raster.RgbaImage
- The image to encode.
Returns
A PNG image.
ToPng(ChartForgeX.Raster.RgbaImage arg1, ChartForgeX.Core.RasterImageOptions arg2) #Encodes an RGBA image as PNG bytes using dependency-free raster options.
Parameters
- arg1 ChartForgeX.Raster.RgbaImage
- arg2 ChartForgeX.Core.RasterImageOptions
ToPng(ChartForgeX.Stories.VisualStory arg1) #Renders the completed visual-story scene to PNG.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
ToPng(ChartForgeX.Terminal.TerminalStory arg1) #Renders the completed state of a terminal story to PNG bytes.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
ToPpm(ChartForgeX.Core.Chart chart, ChartForgeX.Core.RasterImageOptions options) #Renders a chart to PPM bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A PPM image.
ToPpm(ChartForgeX.Core.ChartGrid grid, ChartForgeX.Core.RasterImageOptions options) #Renders a chart grid to PPM bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A PPM image.
ToPpm(ChartForgeX.VisualBlocks.IVisualBlock block, ChartForgeX.Core.RasterImageOptions options) #Renders a visual block to PPM bytes.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A PPM image.
ToPpm(ChartForgeX.VisualBlocks.VisualGrid grid, ChartForgeX.Core.RasterImageOptions options) #Renders a visual grid to PPM bytes.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A PPM image.
ToPpm(ChartForgeX.Composition.VisualCanvas canvas, ChartForgeX.Core.RasterImageOptions options) #Renders a visual canvas to PPM bytes.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A PPM image.
ToRasterImage(ChartForgeX.Core.Chart chart, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Renders a chart to opaque raster image bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
Encoded raster image bytes.
ToRasterImage(ChartForgeX.Core.ChartGrid grid, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Renders a chart grid to opaque raster image bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
Encoded raster image bytes.
ToRasterImage(ChartForgeX.VisualBlocks.IVisualBlock block, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Renders a visual block to opaque raster image bytes.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
Encoded raster image bytes.
ToRasterImage(ChartForgeX.VisualBlocks.VisualGrid grid, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Renders a visual grid to opaque raster image bytes.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
Encoded raster image bytes.
ToRasterImage(ChartForgeX.Composition.VisualCanvas canvas, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Renders a visual canvas to opaque raster image bytes.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
Encoded raster image bytes.
ToRasterImage(ChartForgeX.Raster.RgbaImage image, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Encodes RGBA pixels to a dependency-free raster format.
Parameters
- image ChartForgeX.Raster.RgbaImage
- The image to encode.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
Encoded raster image bytes.
ToRgbaImage(ChartForgeX.Core.Chart chart) #Renders a chart directly to an in-memory RGBA image without encoding it.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
The rendered RGBA image.
ToRgbaImage(ChartForgeX.Core.ChartGrid grid) #Renders a chart grid directly to an in-memory RGBA image without encoding it.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
Returns
The rendered RGBA image.
ToRgbaImage(ChartForgeX.VisualBlocks.IVisualBlock block) #Renders a visual block directly to an in-memory RGBA image without encoding it.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
Returns
The rendered RGBA image.
ToRgbaImage(ChartForgeX.VisualBlocks.VisualGrid grid) #Renders a visual grid directly to an in-memory RGBA image without encoding it.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
Returns
The rendered RGBA image.
ToRgbaImage(ChartForgeX.Composition.VisualCanvas canvas) #Renders a visual canvas directly to an in-memory RGBA image without encoding it.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
Returns
The rendered RGBA image.
ToSvg(ChartForgeX.Core.Chart chart) #Renders a chart to SVG markup.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
SVG markup.
ToSvg(ChartForgeX.Core.Chart chart, System.String idScope) #Renders a chart to SVG markup with an additional deterministic ID scope.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- idScope System.String
- A caller-provided scope used to keep SVG element IDs unique when embedding multiple SVGs in one document.
Returns
SVG markup.
ToSvg(ChartForgeX.Core.ChartGrid grid) #Renders a chart grid to SVG markup.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
Returns
SVG markup.
ToSvg(ChartForgeX.Core.ChartGrid grid, System.String idScope) #Renders a chart grid to SVG markup with an additional deterministic ID scope.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- idScope System.String
- A caller-provided scope used to keep SVG element IDs unique when embedding multiple SVG grids in one document.
Returns
SVG markup.
ToSvg(ChartForgeX.VisualBlocks.IVisualBlock block) #Renders a visual block to SVG markup.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
Returns
SVG markup.
ToSvg(ChartForgeX.VisualBlocks.IVisualBlock block, System.String idScope) #Renders a visual block to SVG markup with an additional deterministic ID scope.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- idScope System.String
- A caller-provided scope used to keep SVG element IDs unique when embedding multiple SVGs in one document.
Returns
SVG markup.
ToSvg(ChartForgeX.VisualBlocks.VisualGrid grid) #Renders a visual grid to SVG markup.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
Returns
SVG markup.
ToSvg(ChartForgeX.VisualBlocks.VisualGrid grid, System.String idScope) #Renders a visual grid to SVG markup with an additional deterministic ID scope.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- idScope System.String
- A caller-provided scope used to keep SVG element IDs unique when embedding multiple SVG grids in one document.
Returns
SVG markup.
ToSvg(ChartForgeX.Composition.VisualCanvas canvas) #Renders a visual canvas to SVG markup.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
Returns
SVG markup.
ToSvg(ChartForgeX.Composition.VisualCanvas canvas, System.String idScope) #Renders a visual canvas to SVG markup with an additional deterministic ID scope.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- idScope System.String
- A caller-provided scope used to keep SVG element IDs unique when embedding multiple SVGs in one document.
Returns
SVG markup.
ToSvg(ChartForgeX.Stories.VisualStory arg1) #Renders a visual story to self-contained animated SVG.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
ToSvg(ChartForgeX.Stories.VisualStory arg1, System.String arg2) #Renders a visual story to self-contained animated SVG with a deterministic ID scope.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
- arg2 System.String
ToSvg(ChartForgeX.Terminal.TerminalStory arg1) #Renders a terminal story to SVG markup.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
ToSvg(ChartForgeX.Terminal.TerminalStory arg1, System.String arg2) #Renders a terminal story to SVG markup with a deterministic ID scope.
Parameters
- arg1 ChartForgeX.Terminal.TerminalStory
- arg2 System.String
ToTiff(ChartForgeX.Core.Chart chart, ChartForgeX.Core.RasterImageOptions options) #Renders a chart to TIFF bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A TIFF image.
ToTiff(ChartForgeX.Core.ChartGrid grid, ChartForgeX.Core.RasterImageOptions options) #Renders a chart grid to TIFF bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A TIFF image.
ToTiff(ChartForgeX.VisualBlocks.IVisualBlock block, ChartForgeX.Core.RasterImageOptions options) #Renders a visual block to TIFF bytes.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A TIFF image.
ToTiff(ChartForgeX.VisualBlocks.VisualGrid grid, ChartForgeX.Core.RasterImageOptions options) #Renders a visual grid to TIFF bytes.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A TIFF image.
ToTiff(ChartForgeX.Composition.VisualCanvas canvas, ChartForgeX.Core.RasterImageOptions options) #Renders a visual canvas to TIFF bytes.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
Returns
A TIFF image.
ToTranscript(ChartForgeX.Stories.VisualStory arg1) #Renders a portable plain-text transcript.
Parameters
- arg1 ChartForgeX.Stories.VisualStory
ToVisualCanvas(ChartForgeX.Raster.RgbaImage arg1, ChartForgeX.Composition.VisualCanvasImageFit arg2) #Creates a visual canvas from decoded RGBA pixels with the image as the first layer.
Parameters
- arg1 ChartForgeX.Raster.RgbaImage
- arg2 ChartForgeX.Composition.VisualCanvasImageFit
WithBrandKit(ChartForgeX.Core.Chart chart, ChartForgeX.Themes.ChartBrandKit brandKit) #Applies a reusable brand kit to the current chart theme.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to configure.
- brandKit ChartForgeX.Themes.ChartBrandKit
- The brand kit to apply.
Returns
The current chart.
WithBrandKit(ChartForgeX.Core.ChartGrid grid, ChartForgeX.Themes.ChartBrandKit brandKit) #Applies a reusable brand kit to the current chart grid theme, creating a light grid theme when the grid is currently automatic.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to configure.
- brandKit ChartForgeX.Themes.ChartBrandKit
- The brand kit to apply.
Returns
The current chart grid.
WithBrandKit``1(``0 block, ChartForgeX.Themes.ChartBrandKit brandKit) #Applies a reusable brand kit to the current visual block theme.
Type Parameters
- TBlock
- The visual block type.
Parameters
- block ``0
- The visual block to configure.
- brandKit ChartForgeX.Themes.ChartBrandKit
- The brand kit to apply.
Returns
The current visual block.
WithPalette(ChartForgeX.Core.Chart chart, ChartForgeX.Primitives.ChartColor[] colors) #Sets the default series palette on the current chart theme.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to configure.
- colors ChartForgeX.Primitives.ChartColor[]
- The palette colors.
Returns
The current chart.
WithPalette(ChartForgeX.Core.Chart chart, System.String[] colors) #Sets the default series palette on the current chart theme from hexadecimal color strings.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to configure.
- colors System.String[]
- The color strings in #RGB, #RGBA, #RRGGBB, or #RRGGBBAA notation.
Returns
The current chart.
WithPalette``1(``0 block, ChartForgeX.Primitives.ChartColor[] colors) #Sets the default palette on the current visual block theme.
Type Parameters
- TBlock
- The visual block type.
Parameters
- block ``0
- The visual block to configure.
- colors ChartForgeX.Primitives.ChartColor[]
- The palette colors.
Returns
The current visual block.
WithPalette``1(``0 block, System.String[] colors) #Sets the default palette on the current visual block theme from hexadecimal color strings.
Type Parameters
- TBlock
- The visual block type.
Parameters
- block ``0
- The visual block to configure.
- colors System.String[]
- The color strings in #RGB, #RGBA, #RRGGBB, or #RRGGBBAA notation.
Returns
The current visual block.
WithPngOutputScale(ChartForgeX.VisualBlocks.VisualGrid grid, ChartForgeX.Core.ChartPngOutputScale scale) #Sets the output pixel multiplier used by visual grid PNG exports using a named density preset.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to configure.
- scale ChartForgeX.Core.ChartPngOutputScale
- The output density preset.
Returns
The current visual grid.
WithPngOutputScale``1(``0 block, ChartForgeX.Core.ChartPngOutputScale scale) #Sets the output pixel multiplier used by visual block PNG exports using a named density preset.
Type Parameters
- TBlock
- The visual block type.
Parameters
- block ``0
- The visual block to configure.
- scale ChartForgeX.Core.ChartPngOutputScale
- The output density preset.
Returns
The current visual block.
WithTheme(ChartForgeX.Core.Chart chart, System.Action{ChartForgeX.Themes.ChartTheme} configure) #Configures the current chart theme in place.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to configure.
- configure System.Action{ChartForgeX.Themes.ChartTheme}
- The theme customization callback.
Returns
The current chart.
WithTheme(ChartForgeX.Core.ChartGrid grid, System.Action{ChartForgeX.Themes.ChartTheme} configure) #Configures the current chart grid theme in place, creating a light grid theme when the grid is currently automatic.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to configure.
- configure System.Action{ChartForgeX.Themes.ChartTheme}
- The theme customization callback.
Returns
The current chart grid.
WithTheme(ChartForgeX.VisualBlocks.VisualGrid grid, System.Action{ChartForgeX.Themes.ChartTheme} configure) #Configures the current visual grid theme in place, creating a light theme when the grid is currently automatic.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to configure.
- configure System.Action{ChartForgeX.Themes.ChartTheme}
- The theme customization callback.
Returns
The current visual grid.
WriteBmp(ChartForgeX.Core.Chart chart, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a chart to a BMP stream.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteBmp(ChartForgeX.Core.ChartGrid grid, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a chart grid to a BMP stream.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteBmp(ChartForgeX.VisualBlocks.IVisualBlock block, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a visual block to a BMP stream.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteBmp(ChartForgeX.VisualBlocks.VisualGrid grid, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a visual grid to a BMP stream.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteBmp(ChartForgeX.Composition.VisualCanvas arg1, System.IO.Stream arg2, ChartForgeX.Core.RasterImageOptions arg3) #Writes a visual canvas to a BMP stream.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.IO.Stream
- arg3 ChartForgeX.Core.RasterImageOptions
WritePpm(ChartForgeX.Core.Chart chart, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a chart to a PPM stream.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WritePpm(ChartForgeX.Core.ChartGrid grid, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a chart grid to a PPM stream.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WritePpm(ChartForgeX.VisualBlocks.IVisualBlock block, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a visual block to a PPM stream.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WritePpm(ChartForgeX.VisualBlocks.VisualGrid grid, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a visual grid to a PPM stream.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WritePpm(ChartForgeX.Composition.VisualCanvas arg1, System.IO.Stream arg2, ChartForgeX.Core.RasterImageOptions arg3) #Writes a visual canvas to a PPM stream.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.IO.Stream
- arg3 ChartForgeX.Core.RasterImageOptions
WriteRasterImage(ChartForgeX.Core.Chart chart, System.IO.Stream stream, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Writes a chart to an opaque raster image stream.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- stream System.IO.Stream
- The destination stream.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteRasterImage(ChartForgeX.Core.ChartGrid grid, System.IO.Stream stream, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Writes a chart grid to an opaque raster image stream.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- stream System.IO.Stream
- The destination stream.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteRasterImage(ChartForgeX.VisualBlocks.IVisualBlock block, System.IO.Stream stream, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Writes a visual block to an opaque raster image stream.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- stream System.IO.Stream
- The destination stream.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteRasterImage(ChartForgeX.VisualBlocks.VisualGrid grid, System.IO.Stream stream, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Writes a visual grid to an opaque raster image stream.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- stream System.IO.Stream
- The destination stream.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteRasterImage(ChartForgeX.Composition.VisualCanvas canvas, System.IO.Stream stream, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Writes a visual canvas to an opaque raster image stream.
Parameters
- canvas ChartForgeX.Composition.VisualCanvas
- The visual canvas to render.
- stream System.IO.Stream
- The destination stream.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteRasterImage(ChartForgeX.Raster.RgbaImage image, System.IO.Stream stream, ChartForgeX.Core.RasterImageFormat format, ChartForgeX.Core.RasterImageOptions options) #Writes RGBA pixels to a dependency-free raster stream.
Parameters
- image ChartForgeX.Raster.RgbaImage
- The image to encode.
- stream System.IO.Stream
- The destination stream.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteTiff(ChartForgeX.Core.Chart chart, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a chart to a TIFF stream.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteTiff(ChartForgeX.Core.ChartGrid grid, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a chart grid to a TIFF stream.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteTiff(ChartForgeX.VisualBlocks.IVisualBlock block, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a visual block to a TIFF stream.
Parameters
- block ChartForgeX.VisualBlocks.IVisualBlock
- The visual block to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteTiff(ChartForgeX.VisualBlocks.VisualGrid grid, System.IO.Stream stream, ChartForgeX.Core.RasterImageOptions options) #Writes a visual grid to a TIFF stream.
Parameters
- grid ChartForgeX.VisualBlocks.VisualGrid
- The visual grid to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions
- Optional raster export options.
WriteTiff(ChartForgeX.Composition.VisualCanvas arg1, System.IO.Stream arg2, ChartForgeX.Core.RasterImageOptions arg3) #Writes a visual canvas to a TIFF stream.
Parameters
- arg1 ChartForgeX.Composition.VisualCanvas
- arg2 System.IO.Stream
- arg3 ChartForgeX.Core.RasterImageOptions