Click or drag to resize

RangeTClamp Method (T)

Clamps the specified value within the given range. The order of First and Second is unimportant.

Namespace:  Atalasoft.PdfDoc.Geometry
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public T Clamp(
	T val
)

Parameters

val
Type: T
The value to clamp.

Return Value

Type: T
The val if in Range, otherwise either First or Second.
See Also