3 references to MeasureString
System.Windows.Forms (3)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
686
screen.Graphics.
MeasureString
(Text, Font, new SizeF(proposedSize.Width, proposedSize.Height),
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (1)
748
return graphics.
MeasureString
(
System\Windows\Forms\Controls\Labels\Label.cs (1)
1084
requiredSize = Size.Ceiling(screen.Graphics.
MeasureString
(Text, Font, bounds, stringFormat));