LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Stretch Property
See Also 
Leadtools.Windows.Annotations Namespace > IAnnImage Interface : Stretch Property



The Stretch Property supports WPF/Silverlight.

The Stretch Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value that indicates how the image is resized to fill its allocated space. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Property Stretch As AnnStretch
Visual Basic (Usage)Copy Code
Dim instance As IAnnImage
Dim value As AnnStretch
 
instance.Stretch = value
 
value = instance.Stretch
C# 
AnnStretch Stretch {get; set;}
C++/CLI 
property AnnStretch Stretch {
   AnnStretch get();
   void set (    AnnStretch value);
}

Property Value

An AnnStretch that indicates how the image is resized to fill its allocated space.

Remarks

For more information, refer to Using Pictures in WPF Annotation Objects.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Stretch requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.