点击或拖拽改变大小

ControlHelperGetStringWidth 方法

Sweet 开发框架
功能描述:获取字符串宽度 作  者:LT 创建日期:2019-06-27 11:54:50 任务编号:POS

命名空间:  SweetUI.Factory
程序集:  SweetUI.Factory (在 SweetUI.Factory.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int GetStringWidth(
	string strSource,
	Graphics g,
	Font font
)

参数

strSource
类型:SystemString
strSource
g
类型:System.DrawingGraphics
g
font
类型:System.DrawingFont
font

返回值

类型:Int32
返回值
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架