This enumeration indicates how to apply the puzzle effect to an image.
[FlagsAttribute()]
public enum PuzzleEffectCommandFlags
<FlagsAttribute()>
Public Enum PuzzleEffectCommandFlags
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
[FlagsAttribute()]
public enum class PuzzleEffectCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | None | No Flags selected. |
0x00000001 | Border | Draw borders around the puzzle blocks. Use the BorderColor property of the PuzzleEffectCommand class, or the borderColor parameter if you are using the appropriate Constructor, 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. |
0x00000002 | Shuffle | Shuffle the blocks around, controlling the randomization process by the Randomize property of the PuzzleEffectCommand class, or the randomize parameter of the appropriate Constructor. If this flag is not set, the blocks will stay in their original position. |
0x00000010 | Size | Apply the puzzle effect using the XBlock and YBlock properties of the PuzzleEffectCommand class, or the xblock and yblock parameters if you are using the appropriate Constructor, as the width and height of each block, in pixels. |
0x00000020 | Count | Apply the puzzle effect using the XBlock and YBlock properties of the PuzzleEffectCommand class, or the xblock and yblock parameters if you are using the appropriate Constructor, as the number of blocks per row and per column. |
0x00000100 | 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. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document