Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
Value Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > SphereCommandBitmapEffect Class : Value Property





Gets or sets the amount of stretching.

Syntax

Visual Basic (Declaration) 
Public Property Value As Integer
Visual Basic (Usage)Copy Code
Dim instance As SphereCommandBitmapEffect
Dim value As Integer
 
instance.Value = value
 
value = instance.Value
C# 
public int Value {get; set;}
C++/CLI 
public:
property int Value {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Value =int >

Dependencies Property Information 

Identifier field

ValueProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Value =int >

Dependencies Property Information 

Identifier field

ValueProperty

Metadata properties set to true

None

Return Value

Amount of stretching where:
Positive values: stretch the central pixels toward the edges.
Negative values: stretch the pixels toward the Center.
Valid values are range in between -500 and 500.

Example

For XAML example, refer to SphereCommandBitmapEffect.

For C#/VB examples, refer to SphereCommandBitmapEffect.

Requirements

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

See Also