Specifies whether caching is enabled for the picture object.
Syntax
object.CacheEnabled [= Boolean]
Properties
The CacheEnabled property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Boolean |
Whether caching is enabled for the particular picture. |
Settings
The settings for Boolean are:
Value |
Description |
True |
Once you have closed a picture in run mode, the next time you open the picture in run mode it will be read from memory cache, instead of from disk, if picture caching is enabled globally. This is the default. |
False |
Once you have closed a picture in run mode, the next time you open the picture in run mode it will be read from disk, instead of from memory cache, whether or not picture caching is enabled globally. |
Remarks
This object property directly affects the Allow this picture to be cached option in the Create Picture wizard. However, picture caching will only truly occur if global picture caching is also enabled from the User Preferences dialog box. This option is available in three places:
- On the Attributes page of the Modify Configuration dialog box
- On the Define Custom Picture Attributes page of the Create Picture Wizard dialog box.
- In the Edit Picture dialog box, as Disable caching for this picture.