This documentation is archived and is not being maintained.

Unit.Point Method

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

[Visual Basic]
Public Shared Function Point( _
   ByVal n As Integer _
) As Unit
[C#]
public static Unit Point(
 int n
);
[C++]
public: static Unit Point(
 int n
);
[JScript]
public static function Point(
   n : int
) : Unit;

Parameters

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

Return Value

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.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

Unit Structure | Unit Members | System.Web.UI.WebControls Namespace | UnitType | Parse | Pixel | Percentage

Show: