SharpLeaf Reference > SharpLeaf Methods > RenderXaml Method > (Double,PageMode,String,Boolean)

SharpLeaf.RenderXaml Method (Double,PageMode,String,Boolean)

Return report rendered as a XAML Canvas.

public string RenderXaml(
    double dpi,
    PageMode pagemode,
    string header,
    bool html
);
dpi
Resolution to use, in dots per inch (defaults to 96).
pagemode
Page layout to use (defaults to PageMode.Vertical).
header
Arbitrary XAML code to include at top of Canvas.
html
Wrap XAML Canvas into an HTML page, using Silverlight.js and Silverplot.js (defaults to false).
return value
Completed XAML Canvas containing report.

See also ...

SharpLeaf Members | SharpLeaf.RenderXaml Method


Send comments on this topic
© Dyalog Ltd 2021