This enumeration indicates how to apply the Dice effect to an image.
[FlagsAttribute()]
public enum DiceEffectCommandFlags
<FlagsAttribute()>
Public Enum DiceEffectCommandFlags
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
[FlagsAttribute()]
public enum class DiceEffectCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | None | No Flags selected. |
0x00000001 | 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. |
0x00000010 | Size | XBlock and YBlock properties (or the xblock and yblock parameters of the Constructor) contain the width and height of each block, in pixels. |
0x00000020 | Count | XBlock and YBlock properties (or the xblock and yblock parameters of the Constructor) contain the number of blocks per row and per column. |
0x00000100 | 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. For more information refer to the Remarks section of the DiceEffectCommand . |
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