This documentation is archived and is not being maintained.

Sizing Element (RDL)

Determines the appearance of the image if the image does not fit the height and width of the Image element.


<Image>
       ...
       <Sizing>...</Sizing>
    ...
</Image>

Characteristic Description

Data type and length

String

Default value

AutoSize

Cardinality

0-1: Optional element that can occur once or not at all.

Relationship Element

Parent element

Image

Child element

None

The Sizing element must contain one of the following values.

Value Description

AutoSize

Grows or shrinks borders of the image item to fit the image.

Fit

Resizes the image to match the height and width of the Image element.

FitProportional

Resizes the image to match the height and width of the Image element, preserving the aspect ratio.

Clip

Clips the image to fit the height and width of the Image element.

Rendering extensions that do not support the values FitProportional or Clip should render as Fit instead.

Show: