[This is preliminary documentation and is subject to change.]
Create a Unit from a value and a UnitType
Namespace: TallComponents.WebAssembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 1.0.4.1
Syntax
| C# |
|---|
public Unit( double val, UnitType type ) |
| Visual Basic |
|---|
Public Sub New ( _ val As Double, _ type As UnitType _ ) |
Parameters
- val
- Type: System..::..Double
The value of the Unit object expressed in the unit specified by type.
- type
- Type: TallComponents.Web..::..UnitType
The unit of val, for example Inch.