←Select platform

Stretch Property

Summary

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

Syntax

C#
VB
WinRT C#
C++
public int Stretch { get; set; } 
  
Public Property Stretch As Integer 
public int Stretch {get; set;} 
  
get_Stretch(); 
set_Stretch(value); 
Object.defineProperty('Stretch');  
public: 
property int Stretch { 
   int get(); 
   void set (    int ); 
} 

Property 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly