FontUnit.Implicit(Int32 to FontUnit) 运算符

定义

从整数值隐式创建 FontUnit 类型的 Point

public:
 static operator System::Web::UI::WebControls::FontUnit(int n);
public static implicit operator System.Web.UI.WebControls.FontUnit (int n);
static member op_Implicit : int -> System.Web.UI.WebControls.FontUnit
Public Shared Widening Operator CType (n As Integer) As FontUnit

参数

n
Int32

表示要转换为 PointFontUnit 值的整数。

返回

表示 n 参数指定的字体大小的 FontUnit 类型的 Point

注解

此运算符的等效方法是 FontUnit.Point(Int32)

适用于

另请参阅