Method ImageFromTextWithBoldTag
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
stringString with html bold tags to draw.
scaleFactor
doubleScale factor.
font
FontFont that defines the font of the string.
foreColor
ColorForeground color of the text.
backColor
ColorBackground color of the text. Optional. Default is Null. If Null, background is transparent.