Unit.Point(Int32) Method

Definition

Creates a Unit of type Point from the specified 32-bit signed integer.

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

Parameters

n
Int32

A 32-bit signed integer that represents the length of the Unit.

Returns

A Unit of type Point that represents the length specified by the 32-bit signed integer.

Remarks

Use the Point static method to create a Unit of type Point that represents the length specified by the n parameter.

Note

The Unit class can represent values only between -32768 and 32767.

Applies to

See also