点击或拖拽改变大小

ControlHelperGetSubString 方法

Sweet 开发框架
功能描述:根据控件宽度截取字符串 作  者:LT 创建日期:2019-06-27 10:49:10 任务编号:POS

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

参数

strSource
类型:SystemString
字符串
fltControlWidth
类型:SystemSingle
控件宽度
g
类型:System.DrawingGraphics
Graphics
font
类型:System.DrawingFont
字体

返回值

类型:String
截取后的字符串
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架