[This is preliminary documentation and is subject to change.]

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.Web
Assembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 1.0.4.1

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