ILabelFormattingMeasureItem Method |
Measures the item, i.e. returns the size of the item.
Namespace: Altaxo.Graph.Gdi.LabelFormattingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
SizeFThe size of the item if it would be drawn.
See Also