Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
XBlock Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > DiceEffectCommandBitmapEffect 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 DiceEffectCommandBitmapEffect
Dim value As Integer
 
instance.XBlock = value
 
value = instance.XBlock
C# 
public int XBlock {get; set;}
Managed Extensions for C++ 
public: __property int get_XBlock();
public: __property void set_XBlock( 
   int value
);
C++/CLI 
public:
property int XBlock {
   int get();
   void set (int value);
}

Return Value

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

Example

Requirements

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

See Also