LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

ImageStretch Property






Gets or sets a value that specify how content should be stretched to fill the destination rectangle. .NET support
Syntax
public Stretch ImageStretch {get; set;}
'Declaration
 
Public Property ImageStretch As Stretch
'Usage
 
Dim instance As PrinterHelper
Dim value As Stretch
 
instance.ImageStretch = value
 
value = instance.ImageStretch
public Stretch ImageStretch {get; set;}
 get_ImageStretch();
set_ImageStretch(value);
public:
property Stretch ImageStretch {
   Stretch get();
   void set (    Stretch value);
}

Property Value

A System.Windows.Media.Stretch enumeration value that specify how content should be stretched to fill the destination rectangle. Default value is Stretch.None.
Remarks

The following properties control how the object being printed is aligned and stretched inside Destination:

Example

For an example, refer to PrinterHelper.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PrinterHelper Class
PrinterHelper Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.