Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
YBlock Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > DiceEffectCommandBitmapEffect Class : YBlock Property





Gets or sets the height of each block in pixels or the number of blocks per column.

Syntax

Visual Basic (Declaration) 
Public Property YBlock As Integer
Visual Basic (Usage)Copy Code
Dim instance As DiceEffectCommandBitmapEffect
Dim value As Integer
 
instance.YBlock = value
 
value = instance.YBlock
C# 
public int YBlock {get; set;}
Managed Extensions for C++ 
public: __property int get_YBlock();
public: __property void set_YBlock( 
   int value
);
C++/CLI 
public:
property int YBlock {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object YBlock =int >

Dependency Property Information 

Identifier field

YBlockProperty

Metadata properties set to true

None

Return Value

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

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, and Windows Server 2003

See Also