Class SvgWorkspaceRenderer
Renders the views in a workspace as standalone SVG documents.
public sealed class SvgWorkspaceRenderer
- Inheritance
-
SvgWorkspaceRenderer
- Inherited Members
Methods
Render(Workspace)
Renders each supported view in a workspace as a standalone SVG document.
public IReadOnlyDictionary<string, string> Render(Workspace workspace)
Parameters
workspaceWorkspaceThe workspace whose views should be rendered.
Returns
- IReadOnlyDictionary<string, string>
A dictionary of SVG documents keyed by view key.
Render(Workspace, Workspace)
Copies reusable layout from a predecessor workspace into the updated workspace, then renders its views as standalone SVG documents.
public IReadOnlyDictionary<string, string> Render(Workspace workspace, Workspace predecessor)
Parameters
workspaceWorkspaceThe updated workspace to render and mutate with matching predecessor layout.
predecessorWorkspaceThe read-only workspace that supplies saved layout information.
Returns
- IReadOnlyDictionary<string, string>
A dictionary of SVG documents keyed by view key.