Create a Unit from a value and a UnitType
Namespace: TallComponents.PDFAssembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0
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.PDF..::..UnitType
The unit of val, for example Inch.