Click or drag to resize

LabelFormattingBaseMeasureItem Method

Measures the item, i.e. returns the size of the item.

Namespace: Altaxo.Graph.Gdi.LabelFormatting
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public virtual SizeF MeasureItem(
	Graphics g,
	FontX font,
	StringFormat strfmt,
	AltaxoVariant mtick,
	PointF morg
)

Parameters

g  Graphics
Graphics context.
font  FontX
The font that is used to draw the item.
strfmt  StringFormat
String format used to draw the item.
mtick  AltaxoVariant
The item to draw.
morg  PointF
The location the item will be drawn.

Return Value

SizeF
The size of the item if it would be drawn.

Implements

ILabelFormattingMeasureItem(Graphics, FontX, StringFormat, AltaxoVariant, PointF)
See Also