Leadtools.ImageProcessing.SpecialEffects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.11
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 Enum
Visual Basic (Usage)Copy Code
Dim instance As DiceEffectCommandFlags
C# 
[FlagsAttribute()]
public enum DiceEffectCommandFlags : Enum 
Managed Extensions for C++ 
[FlagsAttribute()]
__value public enum DiceEffectCommandFlags : public Enum 
C++/CLI 
[FlagsAttribute()]
public enum class DiceEffectCommandFlags : public Enum 

Members

MemberDescription
None No Flags selected.
Size XBlock and YBlock properties (or the xblock and yblock parameters of the Constructor) contain the width and height of each block, in pixels.
Count XBlock and YBlock properties (or the xblock and yblock parameters of the Constructor) contain the number of blocks per row and per column.
Border Draw 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.
ResizeImage If 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 .

Inheritance Hierarchy

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also