Clamp MethodCollapse AllExpand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: Visual Basic (Declaration)Language Filter: C# Visual Basic (Declaration) C# Kaliko.ImageLibrary.Filters Namespace > PixelUtils Class : Clamp MethodClamp a value to the range 0..255SyntaxVisual BasicC#'Declaration Public Shared Function Clamp( _ ByVal value As Integer _ ) As Integerpublic static int Clamp( int value )ParametersvalueRequirementsTarget Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2See AlsoReferencePixelUtils ClassPixelUtils Members Share this article: