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| Visual Basic (Declaration) | |
|---|---|
Public Property Stretch As AnnStretch | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As AnnImageObject Dim value As AnnStretch instance.Stretch = value value = instance.Stretch | |
| C# | |
|---|---|
public AnnStretch Stretch {get; set;} | |
| C++/CLI | |
|---|---|
public: 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.For XAML example, refer to AnnHotspotObject.
For C#/VB examples, refer to AnnImageObject.
For more information, refer to Using Pictures in WPF Annotation Objects.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Copy Code