Common Reference > SvgMode Enumeration

SvgMode Enumeration

Various options for scaling the completed graphic in the browser.

public enum SvgMode

Members

FitHeightThe image will be scaled to fit the viewer height, preserving its shape
FitWidthThe image will be scaled to fit the viewer width, preserving its shape
FixedAspectThe image will be scaled to fit the viewer window, preserving its shape
FixedSizeThe image will always appear at the designed size, and will be undecorated
ShadowedThe image will appear at the designed size, with a border and drop-shadow added
StretchableThe image will fit exactly the space available in the viewer. This may distort the text if the window shape is very different from that which the chart was designed for!

Requirements

Namespace: Causeway

Assembly: SharpPlot (in sharpplot.dll)

See also ...

SharpPlot.RenderSvg Method | SharpPlot.SaveSvg Method | SharpLeaf.RenderSvg Method | SharpLeaf.SaveSvg Method | Document.RenderSvg Method | Document.SaveSvg Method


Send comments on this topic
© Dyalog Ltd 2021