3 references to FontMeasureString
System.Windows.Forms (3)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (3)
737fixed (char* ps = FontMeasureString) 739PInvoke.GetTextExtentPoint32W(dc, ps, FontMeasureString.Length, (SIZE*)(void*)&size); 743retval.Width = (int)Math.Round(size.Width / ((float)FontMeasureString.Length));