2 references to MeasureString
System.Windows.Forms (2)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
671
screen.Graphics.
MeasureString
(Text, Font, new SizeF(proposedSize.Width, proposedSize.Height),
System\Windows\Forms\Controls\Labels\Label.cs (1)
1086
requiredSize = Size.Ceiling(screen.Graphics.
MeasureString
(Text, Font, bounds, stringFormat));