点击或拖拽改变大小

RGraphicsMeasureString 方法 (String, RFont)

Measure the width and height of string str when drawn on device context HDC using the given font font.

命名空间:  DSkin.Html.Adapters
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public abstract RSize MeasureString(
	string str,
	RFont font
)

参数

str
类型:SystemString
the string to measure
font
类型:DSkin.Html.AdaptersRFont
the font to measure string with

返回值

类型:RSize
the size of the string
参见