When the global setting named “ZoomToFitFromCenter” is disabled in the FixUserPreferences.ini file, use BestFitWithCenter to override the global setting on a picture.
Syntax
object.BestFitWithCenter [= Boolean]
Properties
The BestFitWithCenter property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Boolean |
Whether to disable the ZoomToFitFromCenter setting in the FixUserPreferences.ini file at the picture-level. |
Settings
The settings for Boolean are:
Value |
Description |
True |
Enables the setting. (Default) |
False |
Does not enable the setting. |
Remarks
The global setting named “ZoomToFitFromCenter” is available for use in the FixUserPreferences.ini file. Use this global setting to disable centering when ZoomToFit is applied. (By default, ZoomToFit centers a picture.) Add ZoomToFitFromCenter=0 to the [AppDesignPreferences] in the FixUserPreferences.ini file (located at the “LOCAL” folder of the iFIX install) to disable centering when ZoomToFit is enabled.