Skip to main content
A newer version of this page is available. .
Tab

FlashObjectProperties.Scale Property

Gets or sets how a Flash object is placed within the browser window when using percent values for width and height.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(Scale.ShowAll)]
public Scale Scale { get; set; }

Property Value

Type Default Description
Scale **ShowAll**

A Scale enumeration value that specifies how a Flash object is placed within the browser window.

Available values:

Name Description
ShowAll

Makes the entire movie visible within the specified area without distortion, while maintaining the original aspect ratio of the movie.

NoBorder

Scales the movie to fill the specified area without distortion, but possibly with some cropping, while maintaining the original aspect ratio of the movie.

ExactFit

Makes the entire movie visible in the specified area without trying to preserve the original aspect ratio. A distortion may occur.

NoScale

The movie isn’t scaled.

Remarks

The Scale property works together with the dimension settings to determine how a Flash Player movie will be displayed in a browser. The Scale property specifically controls how a SWF file will scale, stretch or shrink as the browser window is resized.

For more information, see Scale.

See Also