FontUnit Implicit Conversion (Int32 to FontUnit)

 
equivalentCodeEntityM:System.Web.UI.WebControls.FontUnit.Point(System.Int32)

Implicitly creates a FontUnit of type System.Drawing::Point from an integer value.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
static operator FontUnit (
	int n
)

Parameters

n
Type: System::Int32

An integer representing the System.Drawing::Point value to convert into a FontUnit.

Return Value

Type: System.Web.UI.WebControls::FontUnit

A FontUnit of type System.Drawing::Point that represents the font size specified the n parameter.

.NET Framework
Available since 1.1
Return to top
Show: