LEADTOOLS Image Processing (Leadtools.ImageProcessing.SpecialEffects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
XBlock Property
See Also 
Leadtools.ImageProcessing.SpecialEffects Namespace > DiceEffectCommand Class : XBlock Property



Gets or sets the width of each block in pixels or the number of blocks per row.

Syntax

Visual Basic (Declaration) 
Public Property XBlock As Integer
Visual Basic (Usage)Copy Code
Dim instance As DiceEffectCommand
Dim value As Integer
 
instance.XBlock = value
 
value = instance.XBlock
C# 
public int XBlock {get; set;}
C++/CLI 
public:
property int XBlock {
   int get();
   void set (    int value);
}

Property Value

If the DiceEffectCommandFlags.ResizeImage flag is set, this property represents the width of each block, in pixels. If the DiceEffectCommandFlags.Count flag is set, this property represents the number of blocks per row.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also