This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum AgingCommandFlags Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As AgingCommandFlags |
C# | |
---|---|
[FlagsAttribute()] public enum AgingCommandFlags : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class AgingCommandFlags : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
AddDust | Add dust. |
AddHorizontalScratch | Add horizontal scratch lines. |
AddNothing | Do not add any distortion type. In this case, the image will be changed by random changes in the color intensity. |
AddPits | Add pits. |
AddVerticalScratch | Add vertical scratch lines. |
DustColor | Use the value in DustColor as the dust color. |
DustInverse | Use the pixel's color inverse as the dust color. If this flag is set, DustColor will be ignored. |
PitsColor | Use the value in PitsColor as the color of the pits. |
PitsInverse | Use the pixel's color inverse as the color of the pits. If this flag is set, PitsColor will be ignored. |
ScratchColor | Use the value in ScratchColor as the scratch line color. |
ScratchInverse | Use the pixel's color inverse as the scratch line color. If this flag is set, ScratchColor will be ignored. |
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 |
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.SpecialEffects.AgingCommandFlags
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7