Constructor DrawLabelParams
DrawLabelParams(string, Font, Color)
Initializes a new instance of the Graphics.DrawLabelParams struct.
public DrawLabelParams(string text, Font font, Color foreColor)
Parameters
DrawLabelParams(string, Font, Color, Color, Image?, RectD, HVAlignment?, int)
Initializes a new instance of the Graphics.DrawLabelParams struct with the specified initial values.
public DrawLabelParams(string text, Font font, Color foreColor, Color backColor, Image? image, RectD rect, HVAlignment? alignment = null, int indexAccel = -1)
Parameters
textstringText to draw.
fontFontFont used to draw the text.
foreColorColorForeground color of the text.
backColorColorBackground color of the text. If parameter is equal to Empty, background will not be painted.
imageImageOptional image.
rectRectDRectangle in which drawing is performed.
alignmentHVAlignment?Alignment of the text.
indexAccelintIndex of underlined mnemonic character.