Adobe Illustrator CS5 Type Library JS: Preferences
From Illustrator CS5
Preferences
Preferences for Illustrator.QuickLinks
getBooleanPreference, getIntegerPreference, getRealPreference, getStringPreference, removePreference, setBooleanPreference, setIntegerPreference, setRealPreference, setStringPreferenceHierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| AutoCADFileOptions | OpenOptionsAutoCAD | readonly | Options to use when opening or placing a AutoCAD file. |
| FreeHandFileOptions | OpenOptionsFreeHand | readonly | Options to use when opening or placing a FreeHand file. |
| PDFFileOptions | OpenOptionsPDF | readonly | Options to use when opening or placing a PDF file. |
| parent | Object | readonly | The object's container. |
| photoshopFileOptions | OpenOptionsPhotoshop | readonly | Options to use when opening or placing a Photoshop file. |
| typename | string | readonly | The class name of the object. |
Methods
Instances
bool getBooleanPreference (key:
string)
Retrieve the value of the application preference key as boolean.
| Parameter | Type | Description |
|---|---|---|
| key | string | The preference key. |
int getIntegerPreference (key:
string)
Retrieve the value of the application preference key as integer.
| Parameter | Type | Description |
|---|---|---|
| key | string | The preference key. |
number getRealPreference (key:
string)
Retrieve the value of the application preference key as real number.
| Parameter | Type | Description |
|---|---|---|
| key | string | The preference key. |
string getStringPreference (key:
string)
Retrieve the value of the application preference key as string type.
| Parameter | Type | Description |
|---|---|---|
| key | string | The preference key. |
void removePreference (key:
string)
Delete the application preference key.
| Parameter | Type | Description |
|---|---|---|
| key | string | The preference key. |
void setBooleanPreference (key:
string, value:
bool)
Set the value of the application preference key as boolean.
| Parameter | Type | Description |
|---|---|---|
| key | string | The preference key. |
| value | bool | The boolean value of the preference key. |
void setIntegerPreference (key:
string, value:
int)
Set the value of the application preference key as integer.
| Parameter | Type | Description |
|---|---|---|
| key | string | The preference key. |
| value | int | The boolean value of the preference key. |
void setRealPreference (key:
string, value:
number)
Set the value of the application preference key as real number.
| Parameter | Type | Description |
|---|---|---|
| key | string | The preference key. |
| value | number | The real value of the preference key. |
void setStringPreference (key:
string, value:
string)
Set the value of the application preference key as string type.
| Parameter | Type | Description |
|---|---|---|
| key | string | The preference key. |
| value | string | The string value of the preference key. |
Element of
Application.preferences
| Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |