CodeCarvings.Piczard
ValidateMaxColors(Int32) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageQuantizer Class > ValidateMaxColors Method : ValidateMaxColors(Int32) Method

maxColors
The value to validate.
Determines if the provided value can be passed to quantization algorithms as maximum color number.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function ValidateMaxColors( _
   ByVal maxColors As Integer _
) As Boolean
C#  
public static bool ValidateMaxColors( 
   int maxColors
)

Parameters

maxColors
The value to validate.

Return Value

true if the value is valid; otherwise, false.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.