Method ImageFromTextWithFontStyle
ImageFromTextWithFontStyle(TextAndFontStyle[], double, Font, Color, Color?)
Creates image from the specified array of TextAndFontStyle.
public static Image ImageFromTextWithFontStyle(TextAndFontStyle[] text, double scaleFactor, Font font, Color foreColor, Color? backColor = null)
Parameters
text
TextAndFontStyle[]Array of strings with font styles.
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.