Skip to main content

ASPxClientObjectContainer.SetZoomRect(left, top, right, bottom) Method

Zooms in on the specified rectangular area of the Flash movie.

Declaration

SetZoomRect(
    left: number,
    top: number,
    right: number,
    bottom: number
): void

Parameters

Name Type Description
left number

The x-coordinate of the rectangle’s left side, in twips.

top number

The y-coordinate of the rectangle’s top side, in twips.

right number

The x-coordinate of the rectangle’s right side, in twips.

bottom number

The y-coordinate of the rectangle’s bottom side, in twips.

Remarks

The units of the coordinates are in twips (1440 units per inch). To calculate a rectangle in Flash, set the ruler units to Points and multiply the coordinates by 20 to get twips. There are 72 points per inch.

Note

This member is in effect for a Flash object only.

See Also