LEADTOOLS Image Processing (Leadtools.ImageProcessing.SpecialEffects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DiceEffectCommandFlags Enumeration
See Also  
Leadtools.ImageProcessing.SpecialEffects Namespace : DiceEffectCommandFlags Enumeration



This enumeration indicates how to apply the Dice effect to an image.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum DiceEffectCommandFlags 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As DiceEffectCommandFlags
C# 
[FlagsAttribute()]
public enum DiceEffectCommandFlags : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
public enum class DiceEffectCommandFlags : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
BorderDraw borders around the dice blocks. The border color is contained in the BorderColor property or the borderColor parameter of the Constructor. Each block will draw the border on the inside of the edges. The border is 1 pixel wide. In places with adjacent blocks, the border will be 2 pixels wide because each block has a 1-pixel border. If the ResizeImage flag is not set and the edge blocks have a different size than the inner blocks, the border will not be drawn for the right and the bottom edges.
CountXBlock and YBlock properties (or the xblock and yblock parameters of the Constructor) contain the number of blocks per row and per column.
NoneNo Flags selected.
ResizeImageIf this flag is set then the image will be resized to be sure that all blocks have equal size. If this flag is not set then the edge blocks might have a different size than the inner blocks. If the edge blocks have a different size, they will be manipulated differently. Ror more information refer to the Remarks section of the DiceEffectCommand .
SizeXBlock and YBlock properties (or the xblock and yblock parameters of the Constructor) contain the width and height of each block, in pixels.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.ImageProcessing.SpecialEffects.DiceEffectCommandFlags

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also