System.Web.UI.WebControls.FontUnit.Point Method

Creates a System.Web.UI.WebControls.FontUnit of type System.Drawing.Point from an integer value.

Syntax

public static FontUnit Point (int n)

Parameters

n
An integer representing the System.Drawing.Point value to convert to a System.Web.UI.WebControls.FontUnit.

Returns

A System.Web.UI.WebControls.FontUnit that represents the font size specified by the n parameter.

Remarks

Use the static FontUnit.Point(int) method to create a System.Web.UI.WebControls.FontUnit that represents the font size specified by the n parameter.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0