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