LEADTOOLS Image Processing (Leadtools.ImageProcessing.SpecialEffects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also