[]
        
(Showing Draft Content)

GrapeCity.Drawing.AspectRatio

AspectRatio Enum

Specifies how the filled image aspect ratio will be preserved.

Namespace: GrapeCity.Drawing
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public enum AspectRatio : byte
Public Enum AspectRatio As Byte

Fields

Name Description
ActualSize

Uses the new size.

AtLeast

The 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.

AtMost

The 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.

Stretch

The new size is increased or decreased to fit the original size (the aspect ratio is not preserved).