Implicit conversion from double. This allows you to assign a double to any variable or property of type Unit without constructors or casting.

Namespace: TallComponents.PDF.Layout
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public static implicit operator Unit (
	double val
)
Visual Basic
Public Shared Widening Operator CType ( _
	val As Double _
) As Unit

Parameters

val
Type: System..::..Double
The value in points

Return Value

A Unit with the value val and UnitType Points

See Also