Click or drag to resize

MultiLineLabelFormattingBaseMeasuredLabelItem Constructor

Initializes a new instance of the MultiLineLabelFormattingBaseMeasuredLabelItem class.

Namespace: Altaxo.Graph.Gdi.LabelFormatting
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public MeasuredLabelItem(
	Graphics g,
	FontX font,
	StringFormat strfmt,
	string itemtext,
	double lineSpacing,
	StringAlignment horizontalAlignment,
	StringAlignment verticalAlignment,
	StringAlignment textBlockAligment
)

Parameters

g  Graphics
The graphics object used to measure the label.
font  FontX
The font used for measurement.
strfmt  StringFormat
The string format used for measurement.
itemtext  String
The label text.
lineSpacing  Double
The relative spacing between text lines.
horizontalAlignment  StringAlignment
The horizontal alignment of each line.
verticalAlignment  StringAlignment
The vertical alignment within the text block.
textBlockAligment  StringAlignment
The alignment of the text block.
See Also