9 references to MeasureStringRel
System.Windows.Forms.DataVisualization (9)
Common\Annotation\TextAnnotation.cs (1)
634
SizeF textSize = graphics.
MeasureStringRel
(
Common\ChartTypes\BarChart.cs (1)
2042
SizeF size = graph.
MeasureStringRel
(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format);
Common\ChartTypes\PieChart.cs (1)
1501
SizeF size = graph.
MeasureStringRel
( text.Replace("\\n", "\n"), point.Font, labelRect.Size, format );
Common\ChartTypes\StackedBarChart.cs (1)
1955
SizeF size = graph.
MeasureStringRel
(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format);
Common\General\Axis.cs (4)
5463
SizeF axisLabelSize = chartGraph.
MeasureStringRel
(
5477
axisLabelSize = chartGraph.
MeasureStringRel
(
5701
SizeF axisLabelSize = chartGraph.
MeasureStringRel
(label.Text.Replace("\\n", "\n"),
5712
axisLabelSize = chartGraph.
MeasureStringRel
(label.Text.Replace("\\n", "\n"),
Common\General\ChartGraphics.cs (1)
1196
return this.
MeasureStringRel
(text, font, layoutArea, stringFormat);