Leadtools.ImageProcessing.SpecialEffects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.11
Stretch Property
See Also 
Leadtools.ImageProcessing.SpecialEffects Namespace > PlaneBendCommand Class : Stretch Property




Gets or sets a value that indicates whether to expand or compress the image, and by how much.

Syntax

Visual Basic (Declaration) 
Public Property Stretch As Integer
Visual Basic (Usage)Copy Code
Dim instance As PlaneBendCommand
Dim value As Integer
 
instance.Stretch = value
 
value = instance.Stretch
C# 
public int Stretch {get; set;}
Managed Extensions for C++ 
public: __property int get_Stretch();
public: __property void set_Stretch( 
   int value
);
C++/CLI 
public:
property int Stretch {
   int get();
   void set (int value);
}

Return Value

Value that indicates whether to expand or compress the image, and by how much. If Stretch < 100 image will be expanded. If Stretch > 100 the image will be compressed. Use 100 to maintain the image's dimensions. The value of this property is internally divided by 100. This property only accepts positive values.

Example

Refer to PlaneBendCommand.

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