Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal xblock As Integer, _ ByVal yblock As Integer, _ ByVal randomize As Integer, _ ByVal flags As DiceEffectCommandFlags, _ ByVal borderColor As RasterColor _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public DiceEffectCommand( int xblock, int yblock, int randomize, DiceEffectCommandFlags flags, RasterColor borderColor ) |
Managed Extensions for C++ | |
---|---|
public: DiceEffectCommand( int xblock, int yblock, int randomize, DiceEffectCommandFlags flags, RasterColor borderColor ) |
C++/CLI | |
---|---|
public: DiceEffectCommand( int xblock, int yblock, int randomize, DiceEffectCommandFlags flags, RasterColor borderColor ) |
Parameters
- xblock
- If the DiceEffectCommandFlags.ResizeImage flag is set, this parameter represents the width of each block, in pixels. If the DiceEffectCommandFlags.Count flag is set, this parameter represents the number of blocks per row. Only positive values are accepted.
- yblock
- If the DiceEffectCommandFlags.ResizeImage flag is set, this parameter represents the height of each block, in pixels. If the DiceEffectCommandFlags.Count flag is set, this parameter represents the number of blocks per column. Only positive values are accepted.
- randomize
- The starting point for the randomization process. Valid values range from 0 through 500. Use 0 to have the command select the value. Only positive values are accepted.
- flags
- Flag that specifies how to apply the effect.
- borderColor
- Color of the border that will be drawn around the dice blocks. This parameter will be used only if the DiceEffectCommandFlags.Border flag is set.
Visual Basic | Copy Code |
---|---|
ImageProcessing.SpecialEffects.DiceEffectCommand.DiceEffectConstructor |
C# | Copy Code |
---|---|
ImageProcessing.SpecialEffects.DiceEffectCommand.DiceEffectConstructor |
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family