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




Gets or sets the height of the 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 PuzzleEffectCommandBitmapEffect
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);
}

Return Value

If the PuzzleEffectCommandBitmapEffectsFlags.Size flag is set, this value represents the height of the each block, in pixels. If the PuzzleEffectCommandBitmapEffectsFlags.Count flag is set, it represents the number of blocks per column. Only positive values are accepted.

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