C#
VB
WinRT C#
C++
Flags that indicate the distortion type and the distortion color. This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.
[FlagsAttribute()]
public enum AgingCommandFlags
<FlagsAttribute()>
Public Enum AgingCommandFlags
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
[FlagsAttribute()]
public enum AgingCommandFlags : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.ImageProcessing.SpecialEffects.AgingCommandFlags = function() { };
Leadtools.ImageProcessing.SpecialEffects.AgingCommandFlags.prototype = {
AddNothing = 0x00000000,
DustInverse = 0x00000000,
PitsInverse = 0x00000000,
ScratchInverse = 0x00000000,
AddVerticalScratch = 0x00000001,
AddHorizontalScratch = 0x00000002,
AddDust = 0x00000004,
AddPits = 0x00000008,
ScratchColor = 0x00000010,
DustColor = 0x00000020,
PitsColor = 0x00000040,
};
[FlagsAttribute()]
public enum class AgingCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
Value | Member | Description |
---|---|---|
0x00000000 | AddNothing | Do not add any distortion type. In this case, the image will be changed by random changes in the color intensity. |
0x00000000 | DustInverse | Use the pixel's color inverse as the dust color. If this flag is set, DustColor will be ignored. |
0x00000000 | PitsInverse | Use the pixel's color inverse as the color of the pits. If this flag is set, PitsColor will be ignored. |
0x00000000 | ScratchInverse | Use the pixel's color inverse as the scratch line color. If this flag is set, ScratchColor will be ignored. |
0x00000001 | AddVerticalScratch | Add vertical scratch lines. |
0x00000002 | AddHorizontalScratch | Add horizontal scratch lines. |
0x00000004 | AddDust | Add dust. |
0x00000008 | AddPits | Add pits. |
0x00000010 | ScratchColor | Use the value in ScratchColor as the scratch line color. |
0x00000020 | DustColor | Use the value in DustColor as the dust color. |
0x00000040 | PitsColor | Use the value in PitsColor as the color of the pits. |
You can use a bitwise OR ( ¦ ) to specify one or more flag(s) from each group.
Group | Flags |
Flags that indicate the distortion type | AddNothing, AddVerticalScratch, AddHorizontalScratch, AddDust, AddPits |
Flags that indicate the distortion color | ScratchInverse, ScratchColor, DustInverse, DustColor, PitsInverse, PitsColor |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET