Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
Value Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > CylinderCommandBitmapEffect 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 CylinderCommandBitmapEffect
Dim value As Integer
 
instance.Value = value
 
value = instance.Value
C# 
public int Value {get; set;}
Managed Extensions for C++ 
public: __property int get_Value();
public: __property void set_Value( 
   int value
);
C++/CLI 
public:
property int Value {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Value =int >

Dependency Property Information 

Identifier field

ValueProperty

Metadata properties set to true

None

Return Value

Amount of stretching where:
  • Positive values: stretch the pixels toward the image edges depending on the type of cylinder.
  • Negative values: stretch the pixels toward the central line of the cylinder.
  • The valid range is from –100 to 100.

Example

For XAML example, refer to CylinderCommandBitmapEffect.

For C#/VB examples, refer to CylinderCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also