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
Assembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.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