DSkin
DSkin
DSkin.Html.Adapters
RGraphics 类
RGraphics 方法
MeasureString 方法
MeasureString 方法 (String, RFont)
MeasureString 方法 (String, RFont, Double, Int32, Double)
RGraphics
MeasureString 方法 (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
类型:
System
String
the string to measure
font
类型:
DSkin.Html.Adapters
RFont
the font to measure string with
返回值
类型:
RSize
the size of the string
参见
引用
RGraphics 类
MeasureString 重载
DSkin.Html.Adapters 命名空间