Leadtools.ImageProcessing.SpecialEffects Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 
C++/CLI  
[FlagsAttribute()]
public enum class DiceEffectCommandFlags : public Enum 

Members

Member Description
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