ComponentOne Sizer for WinForms
C1.Win.C1Sizer.4.8 Assembly / C1.Win.C1Sizer Namespace / ImageScaling Enumeration

In This Topic
    ImageScaling Enumeration
    In This Topic
    Specifies the image scaling.
    Syntax
    'Declaration
     
    Public Enum ImageScaling 
       Inherits System.Enum
    public enum ImageScaling : System.Enum 
    Members
    MemberDescription
    ClipUse the image's original size, clipping it to the display area if necessary.
    HideHide the image.
    ScaleScale the image to fit the display area. This mode may increase or reduce the size of the image while maintaining its aspect ratio.
    StretchStretch the image to fill the display area. This mode will usually change the image's aspect ratio.
    TileTile the image to fill the display area.
    TileStretchTile the image into a 3x3 matrix and stretch it to fill the display area. This mode preserves the size of the four corners of the image.
    TileStretchHorizontalTile the image into a row of 3 images and stretch it to fill the display area. This mode preserves the size of the left and right parts of the image.
    TileStretchVerticalTile the image into a column of 3 images and stretch it to fill the display area. This mode preserves the size of the top and bottom parts of the image.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Win.C1Sizer.ImageScaling

    See Also