API Reference
Class
VisualArtifactRendering
Provides static rendering helpers for product-neutral visual artifact envelopes.
Inheritance
- Object
- VisualArtifactRendering
Methods
SaveHtml(ChartForgeX.VisualArtifacts.VisualArtifact artifact, System.String path) #Saves a supported visual artifact model to a standalone HTML page.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- The artifact envelope.
- path System.String
- The target HTML path.
SavePng(ChartForgeX.VisualArtifacts.VisualArtifact artifact, System.String path) #Saves a supported visual artifact model to PNG.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- The artifact envelope.
- path System.String
- The target PNG path.
SaveSvg(ChartForgeX.VisualArtifacts.VisualArtifact artifact, System.String path) #Saves a supported visual artifact model to SVG.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- The artifact envelope.
- path System.String
- The target SVG path.
ToHtmlPage(ChartForgeX.VisualArtifacts.VisualArtifact artifact) #Renders a supported visual artifact model to a standalone HTML page.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- The artifact envelope.
Returns
HTML markup.
ToPng(ChartForgeX.VisualArtifacts.VisualArtifact artifact) #Renders a supported visual artifact model to PNG.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- The artifact envelope.
Returns
PNG bytes.
ToSvg(ChartForgeX.VisualArtifacts.VisualArtifact artifact) #Renders a supported visual artifact model to SVG.
Parameters
- artifact ChartForgeX.VisualArtifacts.VisualArtifact
- The artifact envelope.
Returns
SVG markup.