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
textstringString with html bold tags to draw.
scaleFactordoubleScale factor.
fontFontFont that defines the font of the string.
foreColorColorForeground color of the text.
backColorColorBackground color of the text. Optional. Default is Null. If Null, background is transparent.