Common Reference > Document Class > RenderSvg Method > (SvgMode,Double,PageMode,String)

Document.RenderSvg Method (SvgMode,Double,PageMode,String)

Return document rendered as SVG.

public string RenderSvg(
    SvgMode mode,
    double dpi,
    PageMode pagemode,
    string header
);
mode
Aspect setting used to display SVG (defaults to SvgMode.FixedSize).
dpi
Display resolution to observe when using SvgMode.FixedSize or SvgMode.Shadowed (defaults to 96 dpi).
pagemode
Page layout to use (defaults to PageMode.Vertical).
header
Arbitrary SVG code to include before document.
return value
Document as SVG.

See also ...

Document.Members | Document.RenderSvg Method


Send comments on this topic
© Dyalog Ltd 2021