Unit::Point Method (Int32)

 

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

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

public:
static Unit Point(
	int n
)

Parameters

n
Type: System::Int32

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

Return Value

Type: System.Web.UI.WebControls::Unit

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

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

System_CAPS_noteNote

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

.NET Framework
Available since 1.1
Return to top
Show: