RecalculateViewport Property

IMPORTANT: The RecalculateViewport property does not apply to documents that use the Enhanced Coordinate System. It is only available for documents using legacy coordinates.

Specifies whether persisted ratios are used when calculating the size and viewport for a picture when opening it in the same screen resolution in which it was saved.

Syntax

object.RecalculateViewport [= Boolean]

Properties

The RecalculateViewport property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Boolean

Whether the persisted ratios used to determine the picture's viewport are applied upon reopening the picture in the same resolution in which it was saved.

Settings

The settings for Boolean are:

Value

Description

True

The ratios used to determine the picture's viewport are recalculated upon opening, regardless of screen resolution.

False (Default)

The persisted ratios used to determine the picture's viewport are applied when reopening the picture in the same resolution in which it was saved.

Remarks

If you set this property to True, test the picture to make sure it does not cause any unexpected behavior before saving it. When using Fit Picture To Window, this property will automatically be set to False.

Applies To