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

<object YBlock =int >

Dependencies Property Information 

Identifier field

YBlockProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object YBlock =int >

Dependencies Property Information 

Identifier field

YBlockProperty

Metadata properties set to true

None

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

For XAML example, refer to PuzzleEffectCommandBitmapEffect.

For C#/VB examples, refer to PuzzleEffectCommandBitmapEffect.

Requirements

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

See Also