点击或拖拽改变大小

UserDrawTextEx 方法 (IntPtr, String, Int32, RECT, Int32, DRAWTEXTPARAMS)

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.User.DrawTextEx(System.IntPtr,System.String,System.Int32,Sweet.Common.Win32.RECT@,System.Int32,Sweet.Common.Win32.DRAWTEXTPARAMS@)" 的 <summary> 文档]

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int DrawTextEx(
	IntPtr hdc,
	string lpsz,
	int n,
	ref RECT lpRect,
	int un,
	ref DRAWTEXTPARAMS lpDrawTextParams
)

参数

hdc
类型:SystemIntPtr

[缺少 "M:Sweet.Common.Win32.User.DrawTextEx(System.IntPtr,System.String,System.Int32,Sweet.Common.Win32.RECT@,System.Int32,Sweet.Common.Win32.DRAWTEXTPARAMS@)" 的 <param name="hdc"/> 文档]

lpsz
类型:SystemString

[缺少 "M:Sweet.Common.Win32.User.DrawTextEx(System.IntPtr,System.String,System.Int32,Sweet.Common.Win32.RECT@,System.Int32,Sweet.Common.Win32.DRAWTEXTPARAMS@)" 的 <param name="lpsz"/> 文档]

n
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.User.DrawTextEx(System.IntPtr,System.String,System.Int32,Sweet.Common.Win32.RECT@,System.Int32,Sweet.Common.Win32.DRAWTEXTPARAMS@)" 的 <param name="n"/> 文档]

lpRect
类型:Sweet.Common.Win32RECT

[缺少 "M:Sweet.Common.Win32.User.DrawTextEx(System.IntPtr,System.String,System.Int32,Sweet.Common.Win32.RECT@,System.Int32,Sweet.Common.Win32.DRAWTEXTPARAMS@)" 的 <param name="lpRect"/> 文档]

un
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.User.DrawTextEx(System.IntPtr,System.String,System.Int32,Sweet.Common.Win32.RECT@,System.Int32,Sweet.Common.Win32.DRAWTEXTPARAMS@)" 的 <param name="un"/> 文档]

lpDrawTextParams
类型:Sweet.Common.Win32DRAWTEXTPARAMS

[缺少 "M:Sweet.Common.Win32.User.DrawTextEx(System.IntPtr,System.String,System.Int32,Sweet.Common.Win32.RECT@,System.Int32,Sweet.Common.Win32.DRAWTEXTPARAMS@)" 的 <param name="lpDrawTextParams"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.User.DrawTextEx(System.IntPtr,System.String,System.Int32,Sweet.Common.Win32.RECT@,System.Int32,Sweet.Common.Win32.DRAWTEXTPARAMS@)" 的 <returns> 文档]

参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架