The AnnStretch Enumeration supports WPF/Silverlight.
The AnnStretch Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Describes how content is resized to fill its allocated space. Supported in Silverlight, Windows Phone 7Visual Basic (Declaration) | |
---|---|
Public Enum AnnStretch Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnStretch |
C# | |
---|---|
public enum AnnStretch : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
public enum class AnnStretch : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Fill | The content is resized to fill the destination dimensions. The aspect ratio is not preserved. |
None | The content preserves its original size. |
Uniform | The content is resized to fit in the destination dimensions while it preserves its native aspect ratio. |
UniformToFill | The content is resized to fill the destination dimensions while it preserves its native aspect ratio. If the aspect ratio of the destination rectangle differs from the source, the source content is clipped to fit in the destination dimensions. |
For C#/VB examples, refer to AnnPolygonObject.
System.Object
System.ValueType
System.Enum
Leadtools.Windows.Annotations.AnnStretch
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)