The RoundingDirection Enumeration includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.
Specifies rounding direction options.Visual Basic (Declaration) | |
---|---|
Public Enum RoundingDirection Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RoundingDirection |
C# | |
---|---|
public enum RoundingDirection : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
public enum class RoundingDirection : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Closest | For each requested codestream, the codestream image resolution that is closest to the specified size in area shall be selected. |
Round_Down | For each requested codestream, the largest codestream image resolution whose width and height are both less than or equal to the specified size shall be selected. |
Round_Up | For each requested codestream, the smallest codestream image resolution whose width and height are both greater than or equal to the specified size shall be selected. |
For an example, refer to Leadtools.Jpip.RequestEncoder.HttpRequestEncoder.
System.Object
System.ValueType
System.Enum
Leadtools.Jpip.RoundingDirection
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7