Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / ImageLayout Enumeration
In This Topic
    ImageLayout Enumeration
    In This Topic
    Specifies the way an image how to be stretched to fill the destination rectangle.
    Members
    MemberDescription
    CenterSpecifies the image is centered within the destination rectangle.
    NoneSpecifies the image is left-aligned at the top across the destination rectangle.
    StretchSpecifies the image is resized to fill the destination dimensions. The aspect ratio is not preserved.
    TileSpecifies the image is tiled to fill destination dimensions.
    ZoomSpecifies the image is resized to fit in the destination dimensions while it preserves its native aspect ratio.
    ZoomToFillSpecifies 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

    java.lang.Object
       java.lang.Enum
          com.grapecity.documents.excel.drawing.ImageLayout

    See Also