Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property int XBlock {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object XBlock =int >

Dependencies Property Information 

Identifier field

XBlockProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object XBlock =int >

Dependencies Property Information 

Identifier field

XBlockProperty

Metadata properties set to true

None

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

For XAML example, refer to DiceEffectCommandBitmapEffect.

For C#/VB examples, refer to DiceEffectCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also