Common Reference > Document Class > RenderXaml Method > (Double,PageMode,String,Boolean)

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

Return document 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 document.

See also ...

Document.Members | Document.RenderXaml Method


Send comments on this topic
© Dyalog Ltd 2021