Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / ImageLayout Enumeration
In This Topic
    ImageLayout Enumeration
    In This Topic
    Specifies the way an image how to be stretched to fill the destination rectangle.
    Syntax
    public enum ImageLayout : System.Enum 
    Members
    MemberDescription
    Center Specifies the image is centered within the destination rectangle.
    None Specifies the image is left-aligned at the top across the destination rectangle.
    Stretch Specifies the image is resized to fill the destination dimensions. The aspect ratio is not preserved.
    Tile Specifies the image is tiled to fill destination dimensions.
    Zoom Specifies the image is resized to fit in the destination dimensions while it preserves its native aspect ratio.
    ZoomToFill Specifies the image 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.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Documents.Excel.Drawing.ImageLayout

    See Also