This documentation is archived and is not being maintained.
Unit.Percentage Method
.NET Framework 1.1
Creates a Unit of type Percentage from the specified double precision floating point number.
[Visual Basic] Public Shared Function Percentage( _ ByVal n As Double _ ) As Unit [C#] public static Unit Percentage( double n ); [C++] public: static Unit Percentage( double n ); [JScript] public static function Percentage( n : double ) : Unit;
Parameters
- n
- A double precision floating point number that represents the length of the Unit.
Return Value
A Unit of type Percentage that represents the length specified by the double precision floating point number.
Remarks
Use the Percentage static method to create a Unit of type Percentage 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 | Point
Show: