Common Reference > Document Class > RenderXaml Method Document.RenderXaml Method
Return document 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
xaml = doc.RenderXaml(96); // Render XAML at 96 dots per inch
See also ...SharpPlot.RenderXaml Method | SharpLeaf.RenderXaml Method | Document.Members | Document.SaveXaml Method
Send comments on this topic © Dyalog Ltd 2021
|