[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ImageLayout

Enum ImageLayout

Namespace
GrapeCity.Documents.Excel.Drawing
Assembly
GcDocs.Excel.dll

Specifies the way an image how to be stretched to fill the destination rectangle.

public enum ImageLayout

Fields

Center = 1

Specifies the image is centered within the destination rectangle.

None = 0

Specifies the image is left-aligned at the top across the destination rectangle.

Stretch = 2

Specifies the image is resized to fill the destination dimensions. The aspect ratio is not preserved.

Tile = 5

Specifies the image is tiled to fill destination dimensions.

Zoom = 3

Specifies the image is resized to fit in the destination dimensions while it preserves its native aspect ratio.

ZoomToFill = 4

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.