예제 #1
0
 public static Size MeasureText(string text, Font font, float maxLineWidth, TextFormatFlags flags)
 {
     return(ToSize(TextRendererSk.MeasureText(text, font, maxLineWidth, flags)));
 }
예제 #2
0
 public static Size MeasureText(string text, Font font)
 {
     return(ToSize(TextRendererSk.MeasureText(text, font)));
 }
예제 #3
0
 public static Size MeasureText(string text, Font font, int maxLineWidth)
 {
     return(ToSize(TextRendererSk.MeasureText(text, font, maxLineWidth)));
 }