UnitType
内容
[
隐藏
]
UnitType class
指定测量单位。
public sealed class UnitType : IEquatable<UnitType>
方法
姓名 | 描述 |
---|---|
override Equals(object) | 确定指定的Object是否等于此实例。 |
Equals(UnitType) | 确定指定的UnitType 是否等于此实例。 |
override GetHashCode() | 返回此实例的哈希码。 |
override ToString() | 返回代表此实例的String。 |
operator == | 确定两个指定的UnitType 值是否相等。 |
explicit operator | 执行从UnitType 到:::R5:T:System.String::的显式转换:. |
implicit operator | 执行从String到:::R5:T:Aspose.Html.Drawing.UnitType::的隐式转换:. |
operator != | 确定两个指定的UnitType 值是否不相等。 |
字段
姓名 | 描述 |
---|---|
static readonly Auto | 测量未定义。 |
static readonly Ch | 测量是相对于“0”(零)的宽度。 |
static readonly Cm | 测量单位为厘米 |
static readonly Deg | 测量以度为单位。 |
static readonly Dpcm | 测量单位为每厘米点数。 |
static readonly Dpi | 测量单位为每英寸点数。 |
static readonly Dppx | 测量以每像素点数为单位。 |
static readonly Em | 测量是相对于父元素字体的高度。 |
static readonly Ex | 测量是相对于父元素字体的小写字母 x 的高度。 |
static readonly Grad | 测量以梯度为单位。 |
static readonly Hz | 测量单位为赫兹。 |
static readonly In | 测量单位为英寸 |
static readonly Integer | 测量是一个整数。 |
static readonly KHz | 测量单位为千赫兹。 |
static readonly Mm | 测量单位为毫米 |
static readonly Ms | 测量以毫秒为单位。 |
static readonly Pc | 测量单位为皮卡 |
static readonly Percentage | 测量以百分比表示。 |
static readonly Pt | 测量以点为单位 |
static readonly Px | 测量以像素为单位 |
static readonly Q | 测量单位为四分之一毫米 |
static readonly Rad | 测量单位为弧度。 |
static readonly Real | 测量是一个实数。 |
static readonly Rem | 测量与根元素的字体大小相关。 |
static readonly S | 测量以秒为单位。 |
static readonly Turn | 轮流测量。 |
static readonly Vh | 测量是相对于视口高度的 1%* 试试看 |
static readonly Vmax | 测量是相对于视口*大尺寸的 1% 试试看 |
static readonly Vmin | 测量是相对于视口*较小尺寸的 1% 试试看 |
static readonly Vw | 测量是相对于视口宽度的 1%* |
也可以看看
- 命名空间 Aspose.Html.Drawing
- 部件 Aspose.HTML