34 references to MeasureString
System.Windows.Forms.DataVisualization (34)
Common\Annotation\TextAnnotation.cs (1)
950
contentSize = GetGraphics().
MeasureString
(
Common\ChartTypes\BoxPlotChart.cs (2)
933
graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
961
graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
Common\ChartTypes\ColumnChart.cs (2)
1246
SizeF sizeFont = graph.GetRelativeSize(graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
1368
SizeF sizeFont = graph.GetRelativeSize(graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
Common\ChartTypes\ErrorBarChart.cs (2)
990
graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
1018
graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
Common\ChartTypes\FunnelChart.cs (2)
1518
SizeF spacing = this.Graph.
MeasureString
(
1669
labelInfo.Size = this.Graph.
MeasureString
(
Common\ChartTypes\PieChart.cs (2)
1252
graph.
MeasureString
(
5568
graph.
MeasureString
(
Common\ChartTypes\PointChart.cs (2)
701
graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
704
graph.
MeasureString
("W", point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
Common\ChartTypes\RadarChart.cs (1)
1072
SizeF sizeFont = graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic);
Common\ChartTypes\StackedAreaChart.cs (2)
1034
graph.
MeasureString
(
1516
graph.
MeasureString
(
Common\ChartTypes\StackedBarChart.cs (3)
1091
graph.
MeasureString
(
2026
graph.
MeasureString
(
2075
graph.
MeasureString
(
Common\ChartTypes\StackedColumnChart.cs (4)
1174
graph.
MeasureString
(
1228
graph.
MeasureString
(
1894
graph.
MeasureString
(
1940
graph.
MeasureString
(
Common\ChartTypes\StockChart.cs (2)
1021
sizeFont = graph.GetRelativeSize(graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
1055
sizeFont = graph.GetRelativeSize(graph.
MeasureString
(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
Common\General\ChartGraphics.cs (9)
1167
return this.
MeasureString
(text, font, layoutArea, stringFormat);
1983
labelSize = this.
MeasureString
(text.Replace("\\n", "\n"), font, absPosition.Size, drawingFormat);
2153
labelSize = this.
MeasureString
(
2186
SizeF size = this.
MeasureString
("I", font, absPosition.Size, drawingFormat);
2203
SizeF size = this.
MeasureString
("I", font, absPosition.Size, drawingFormat);
2281
labelSize = this.
MeasureString
(
2663
newSize = this.
MeasureString
( text, font, size, stringFormat );
2696
SizeF size = this.
MeasureString
( text, font, layoutArea, stringFormat );
2775
size = this.
MeasureString
( text, font, rect.Size, format );