Create a Unit from a value and a UnitType

Namespace: TallComponents.PDF.Layout
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.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.Layout..::..UnitType
The unit of val, for example Inch.

See Also