Table of Contents

Method ImageFromTextWithBoldTag

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

ImageFromTextWithBoldTag(string, double, Font, Color, Color?)

Creates image from the specified text with html bold tags.

public static Image ImageFromTextWithBoldTag(string text, double scaleFactor, Font font, Color foreColor, Color? backColor = null)

Parameters

text string

String with html bold tags to draw.

scaleFactor double

Scale factor.

font Font

Font that defines the font of the string.

foreColor Color

Foreground color of the text.

backColor Color

Background color of the text. Optional. Default is Null. If Null, background is transparent.

Returns

Image