Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
PuzzleEffectCommandBitmapEffectsFlags Enumeration
See Also  
Leadtools.Windows.Media.Effects.SpecialEffects Namespace : PuzzleEffectCommandBitmapEffectsFlags Enumeration





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

Syntax

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

<object property=EnumerationValue .../>

XAML Attributes Usage 

<object property=EnumerationValue .../>

Members

MemberDescription
None No Flags selected.
Border Draw borders around the puzzle blocks. Use the BorderColor property of the PuzzleEffectCommandBitmapEffect class to set the border color. If the Resize 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.
Shuffle Shuffle the blocks around, controlling the randomization process by the Randomize property of the PuzzleEffectCommandBitmapEffect class. If this flag is not set, the blocks will stay in their original position.
Size Apply the puzzle effect using the the XBlock and YBlock properties of the PuzzleEffectCommand class as the width and height of each block, in pixels.
Count Apply the puzzle effect using the the XBlock and YBlock properties of the PuzzleEffectCommand class as the number of blocks per row and per column.
Resize Resize the image to be sure that all blocks have equal size. If this flag is not set then the remainder of the image (edge blocks) will be manipulated differently than the inner blocks.

Inheritance Hierarchy

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

Requirements

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

See Also