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