Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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 
C++/CLI 
[FlagsAttribute()]
public enum class DiceEffectCommandBitmapEffectsFlags : public Enum 
XAML Attributes Usage 

<object property=EnumerationValue .../>

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, Windows Server 2003 family, Windows Server 2008 family

See Also