Table of Contents

Method CreateToolTipImage

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

CreateToolTipImage(RichToolTipTemplate, RichToolTipParams)

Creates an image representation of a rich tooltip based on the specified template and parameters.

public static Image CreateToolTipImage(TemplateControls.RichToolTipTemplate template, RichToolTipParams data)

Parameters

template TemplateControls.RichToolTipTemplate

The TemplateControls.RichToolTipTemplate used to define the layout and appearance of the tooltip.

data RichToolTipParams

The RichToolTipParams containing the content and styling options for the tooltip, such as text, title, colors, font, and image.

Returns

Image

An Image object representing the rendered tooltip.

Remarks

This method configures the provided template with the specified parameters, including text, title, colors, and optional image or icon. If no content is provided, a default informational icon is displayed. The resulting tooltip is rendered as an image.

CreateToolTipImage()

Creates an image filled with tooltip data (icon, title, message, border, etc.).

public virtual Image CreateToolTipImage()

Returns

Image