首页  编辑  

获得文字输出的高宽

Tags: /C#/图形图像/   Date Created:

Graphics vGraphics = CreateGraphics();

SizeF vSizeF = vGraphics . MeasureString( "Zswang" , Font);

Console . WriteLine(vSizeF);