FontUnit.Point(Int32) Method

Definition

从整数值创建 FontUnit 类型的 PointCreates a FontUnit of type Point from an integer value.

public:
 static System::Web::UI::WebControls::FontUnit Point(int n);
public static System.Web.UI.WebControls.FontUnit Point (int n);
static member Point : int -> System.Web.UI.WebControls.FontUnit
Public Shared Function Point (n As Integer) As FontUnit

Parameters

n
Int32

表示要转换为 PointFontUnit 值的整数。An integer representing the Point value to convert to a FontUnit.

Returns

FontUnit

FontUnit,它表示由 n 参数指定的字体大小。A FontUnit that represents the font size specified by the n parameter.

Remarks

使用静态 Point 方法创建表示 n 参数指定的字体大小的 FontUnitUse the static Point method to create a FontUnit that represents the font size specified by the n parameter.

Applies to

See also