Breyta

Deila með


FontUnit.Implicit(Int32 to FontUnit) Operator

Definition

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

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

Parameters

n
Int32

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

Returns

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

Remarks

The equivalent method for this operator is FontUnit.Point(Int32)

Applies to

See also