2 references to GetTextSize
System.Windows.Forms (2)
System\Windows\Forms\Controls\Labels\Label.cs (1)
1083requiredSize = MeasureTextCache.GetTextSize(Text, Font, proposedConstraints, format);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1071Size requiredSize = MeasureTextCache.GetTextSize(Text, Font, finalRectSize, CreateTextFormatFlags(finalRectSize));