Table of Contents

Method GetTemplateAsImage

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetTemplateAsImage(TemplateControl, Color?)

Gets template contents as Image.

public static Image GetTemplateAsImage(TemplateControl template, Color? backColor = null)

Parameters

template TemplateControl

Template control

backColor Color

Background color. Optional. If not specified, background color of the template control is used.

Returns

Image