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

AnnStretch Enumeration






Describes how content is resized to fill its allocated space. .NET support Silverlight support
Syntax
'Declaration
 
Public Enum AnnStretch 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As AnnStretch
Leadtools.Windows.Annotations.AnnStretch = function() { };
Leadtools.Windows.Annotations.AnnStretch.prototype = {
LeadtoolsMemberMarker(replace me) };
public enum class AnnStretch : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
MemberDescription
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.

Example

For C#/VB examples, refer to AnnPolygonObject.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Windows.Annotations.AnnStretch

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

Leadtools.Windows.Annotations Namespace

 

 


Products | Support | Contact Us | Copyright Notices

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