GeneralPreferences.offlineCachePeriod Property
Parent Object:
GeneralPreferencesDefined in namespace "adsk::core" and the header file is <Core/Application/GeneralPreferences.h>
Description
Gets and sets the length of time, in days, that the offline cache of a document will remain.
Syntax
"generalPreferences_var" is a variable referencing a GeneralPreferences object.
# Get the value of the property. propertyValue = generalPreferences_var.offlineCachePeriod
# Set the value of the property. generalPreferences_var.offlineCachePeriod = propertyValue
|
"generalPreferences_var" is a variable referencing a GeneralPreferences object.
#include <Core/Application/GeneralPreferences.h>
// Get the value of the property. double propertyValue = generalPreferences_var->offlineCachePeriod();
// Set the value of the property, where value_var is a double. bool returnValue = generalPreferences_var->offlineCachePeriod(value_var);
|
Property Value
This is a read/write property whose value is a double.
Version
Introduced in version August 2014