CPF api文档
CPF api文档
CPF
PixelSize 结构
PixelSize 方法
FromSizeWithDpi 方法
FromSizeWithDpi 方法 (Size, Vector)
FromSizeWithDpi 方法 (Size, Double)
PixelSize
FromSizeWithDpi 方法 (Size, Vector)
Converts a
Size
to device pixels using the specified dots per inch (DPI).
命名空间:
CPF
程序集:
CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
复制
public
static
PixelSize
FromSizeWithDpi
(
Size
size
,
Vector
dpi
)
参数
size
类型:
CPF.Drawing
Size
The size.
dpi
类型:
CPF.Drawing
Vector
The dots per inch.
返回值
类型:
PixelSize
The device-independent size.
参见
引用
PixelSize 结构
FromSizeWithDpi 重载
CPF 命名空间