C#
VB
WinRT C#
C++
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 DiceEffectCommandFlags : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.ImageProcessing.SpecialEffects.DiceEffectCommandFlags = function() { };
Leadtools.ImageProcessing.SpecialEffects.DiceEffectCommandFlags.prototype = {
None = 0x00000000,
Border = 0x00000001,
Size = 0x00000010,
Count = 0x00000020,
ResizeImage = 0x00000100,
};
[FlagsAttribute()]
public enum class DiceEffectCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
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 . |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET