Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / AspectRatio Enumeration


In This Topic
    AspectRatio Enumeration
    In This Topic
    Specifies how the filled image aspect ratio will be preserved.
    Syntax
    'Declaration
     
    
    Public Enum AspectRatio 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As AspectRatio
    public enum AspectRatio : System.Enum 
    Members
    MemberDescription
    ActualSizeUses the new size.
    AtLeastThe new size is scaled to fit the largest dimension (width or height) of the original size. The other dimension is calculated based on the original aspect ratio.
    AtMostThe new size is scaled to fit the smallest dimension (width or height) of the original size. The other dimension is calculated based on the original aspect ratio.
    StretchThe new size is increased or decreased to fit the original size (the aspect ratio is not preserved).
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Drawing.AspectRatio

    See Also