Method GetTemplateAsImage
GetTemplateAsImage(TemplateControl, Color?)
Gets template contents as Image.
public static Image GetTemplateAsImage(TemplateControl template, Color? backColor = null)
Parameters
template
TemplateControlTemplate control
backColor
ColorBackground color. Optional. If not specified, background color of the template control is used.