Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
DiceEffectCommandBitmapEffectsFlags Enumeration
See Also  
Leadtools.Windows.Media.Effects.SpecialEffects Namespace : DiceEffectCommandBitmapEffectsFlags Enumeration





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

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum DiceEffectCommandBitmapEffectsFlags 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As DiceEffectCommandBitmapEffectsFlags
C# 
[FlagsAttribute()]
public enum DiceEffectCommandBitmapEffectsFlags : Enum 
Managed Extensions for C++ 
[FlagsAttribute()]
__value public enum DiceEffectCommandBitmapEffectsFlags : public Enum 
C++/CLI 
[FlagsAttribute()]
public enum class DiceEffectCommandBitmapEffectsFlags : public Enum 
XAML Attributes Usage 

<object property=EnumerationValue .../>

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 contain the width and height of each block, in pixels.
Border Draw borders around the dice blocks. The border color is contained in the BorderColor property. 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 DiceEffectCommandBitmapEffect .

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Windows.Media.Effects.SpecialEffects.DiceEffectCommandBitmapEffectsFlags

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also