Table of Contents

Constructor DrawLabelParams

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

DrawLabelParams(string, Font, Color)

Initializes a new instance of the Graphics.DrawLabelParams struct.

public DrawLabelParams(string text, Font font, Color foreColor)

Parameters

text string
font Font
foreColor Color

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

text string

Text to draw.

font Font

Font used to draw the text.

foreColor Color

Foreground color of the text.

backColor Color

Background color of the text. If parameter is equal to Empty, background will not be painted.

image Image

Optional image.

rect RectD

Rectangle in which drawing is performed.

alignment HVAlignment?

Alignment of the text.

indexAccel int

Index of underlined mnemonic character.