Enumeration PAGScaleModeConst

Defines the rules on how to scale the content to fit the specified area.

Enumeration Members

Enumeration Members

None: 0

The content is not scaled.

Stretch: 1

The content is stretched to fit.

LetterBox: 2

The content is scaled with respect to the original unscaled image's aspect ratio. This is the default value.

Zoom: 3

The content is scaled to fit with respect to the original unscaled image's aspect ratio. This results in cropping on one axis.

Generated using TypeDoc