Leadtools.ImageProcessing.SpecialEffects Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Value Property
See Also 
Leadtools.ImageProcessing.SpecialEffects Namespace > PunchCommand 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 PunchCommand
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);
}

Return Value

Amount of stretching where :
Positive values: pinch the image toward its center.
Negative values: expand the image away from its center.
Valid values range from -500 to 500.

Example

Refer to PunchCommand.

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