SharpLeaf Reference > SharpLeaf Methods > RenderXaml Method

SharpLeaf.RenderXaml Method

Return report rendered as a XAML Canvas.

Overloads

Result

To make use of this format on the internet you can wrap the XAML content in HTML by setting the html flag to true. The page will reference the silverlight.js file supplied with the plugin, and also the silverplot.js file supplied with SharpPlot. This is very convenient for initial testing, but you will probably want to make your own wrapper page for production use. In any case, the web browser will need a SilverLight plugin.

Example

  // Render at 96 DPI, displaying pages horizontally side-by-side
   xaml = lf.RenderXaml(96,PageMode.Horizontal);

See also ...

SharpLeaf Members | SharpLeaf.SaveXaml Method


Send comments on this topic
© Dyalog Ltd 2016