
**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
```
public final class CategoryPreset extends System.Enum
```

A pre-set color enumeration that characterizes a categories, and that is mapped to one of 25 predefined colors. Note The possible values for color are pre-set constants such as None, preset0 and preset1. Each pre-set constant is further mapped to a color; the actual color is dependent on the Outlook client that the categories are being displayed in.
## Fields

| Field | Description |
| --- | --- |
| [EnumSeparatorCharArray](#EnumSeparatorCharArray) |  |
| [None](#None) | No color |
| [Preset0](#Preset0) | Can be mapped to "Red" color for Outlook(desktop client). |
| [Preset1](#Preset1) | Can be mapped to "Orange" color for Outlook(desktop client). |
| [Preset10](#Preset10) | Can be mapped to "Steel" color for Outlook(desktop client). |
| [Preset11](#Preset11) | Can be mapped to "DarkSteel" color for Outlook(desktop client). |
| [Preset12](#Preset12) | Can be mapped to "Gray" color for Outlook(desktop client). |
| [Preset13](#Preset13) | Can be mapped to "DarkGray" color for Outlook(desktop client). |
| [Preset14](#Preset14) | Can be mapped to "Black" color for Outlook(desktop client). |
| [Preset15](#Preset15) | Can be mapped to "DarkRed" color for Outlook(desktop client). |
| [Preset16](#Preset16) | Can be mapped to "DarkOrange" color for Outlook(desktop client). |
| [Preset17](#Preset17) | Can be mapped to "DarkBrown" color for Outlook(desktop client). |
| [Preset18](#Preset18) | Can be mapped to "DarkYellow" color for Outlook(desktop client). |
| [Preset19](#Preset19) | Can be mapped to "DarkGreen" color for Outlook(desktop client). |
| [Preset2](#Preset2) | Can be mapped to "Brown" color for Outlook(desktop client). |
| [Preset20](#Preset20) | Can be mapped to "DarkTeal" color for Outlook(desktop client). |
| [Preset21](#Preset21) | Can be mapped to "DarkOlive" color for Outlook(desktop client). |
| [Preset22](#Preset22) | Can be mapped to "DarkBlue" color for Outlook(desktop client). |
| [Preset23](#Preset23) | Can be mapped to "DarkPurple" color for Outlook(desktop client). |
| [Preset24](#Preset24) | Can be mapped to "DarkCranberry" color for Outlook(desktop client). |
| [Preset3](#Preset3) | Can be mapped to "Yellow" color for Outlook(desktop client). |
| [Preset4](#Preset4) | Can be mapped to "Green" color for Outlook(desktop client). |
| [Preset5](#Preset5) | Can be mapped to "Teal" color for Outlook(desktop client). |
| [Preset6](#Preset6) | Can be mapped to "Olive" color for Outlook(desktop client). |
| [Preset7](#Preset7) | Can be mapped to "Blue" color for Outlook(desktop client). |
| [Preset8](#Preset8) | Can be mapped to "Purple" color for Outlook(desktop client). |
| [Preset9](#Preset9) | Can be mapped to "Cranberry" color for Outlook(desktop client). |
## Methods

| Method | Description |
| --- | --- |
| [Clone()](#Clone--) |  |
| [CloneTo(T arg0)](#CloneTo-T-) |  |
| [CloneTo(System.Enum arg0)](#CloneTo-com.aspose.ms.System.Enum-) |  |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [format(System.Type arg0, Object arg1, String arg2)](#format-com.aspose.ms.System.Type-java.lang.Object-java.lang.String-) |  |
| [format(Class<?> arg0, long arg1, String arg2)](#format-java.lang.Class----long-java.lang.String-) |  |
| [getClass()](#getClass--) |  |
| [getName(System.Type arg0, Object arg1)](#getName-com.aspose.ms.System.Type-java.lang.Object-) |  |
| [getName(Class<?> arg0, long arg1)](#getName-java.lang.Class----long-) |  |
| [getNames(System.Type arg0)](#getNames-com.aspose.ms.System.Type-) |  |
| [getNames(Class<?> arg0)](#getNames-java.lang.Class----) |  |
| [getUnderlyingType(System.Type arg0)](#getUnderlyingType-com.aspose.ms.System.Type-) |  |
| [getUnderlyingType(Class<?> arg0)](#getUnderlyingType-java.lang.Class----) |  |
| [getValue(Class<?> arg0, String arg1)](#getValue-java.lang.Class----java.lang.String-) |  |
| [getValues(System.Type arg0)](#getValues-com.aspose.ms.System.Type-) |  |
| [get_Caption()](#get-Caption--) |  |
| [get_Value()](#get-Value--) |  |
| [hashCode()](#hashCode--) |  |
| [isDefined(System.Type arg0, Object arg1)](#isDefined-com.aspose.ms.System.Type-java.lang.Object-) |  |
| [isDefined(System.Type arg0, String arg1)](#isDefined-com.aspose.ms.System.Type-java.lang.String-) |  |
| [isDefined(System.Type arg0, long arg1)](#isDefined-com.aspose.ms.System.Type-long-) |  |
| [isDefined(Class<?> arg0, long arg1)](#isDefined-java.lang.Class----long-) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [parse(System.Type arg0, String arg1)](#parse-com.aspose.ms.System.Type-java.lang.String-) |  |
| [parse(System.Type arg0, String arg1, Boolean arg2)](#parse-com.aspose.ms.System.Type-java.lang.String-java.lang.Boolean-) |  |
| [parse(Class<?> arg0, String arg1)](#parse-java.lang.Class----java.lang.String-) |  |
| [parse(Class<?> arg0, String arg1, Boolean arg2)](#parse-java.lang.Class----java.lang.String-java.lang.Boolean-) |  |
| [register(System.Enum.AbstractEnum arg0)](#register-com.aspose.ms.System.Enum.AbstractEnum-) |  |
| [toObject(System.Type arg0, Object arg1)](#toObject-com.aspose.ms.System.Type-java.lang.Object-) |  |
| [toString()](#toString--) |  |
| [toString(Class<?> arg0, long arg1)](#toString-java.lang.Class----long-) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### EnumSeparatorCharArray {#EnumSeparatorCharArray}
```
public static final char[] EnumSeparatorCharArray
```


### None {#None}
```
public static final int None
```


No color

### Preset0 {#Preset0}
```
public static final int Preset0
```


Can be mapped to "Red" color for Outlook(desktop client).

### Preset1 {#Preset1}
```
public static final int Preset1
```


Can be mapped to "Orange" color for Outlook(desktop client).

### Preset10 {#Preset10}
```
public static final int Preset10
```


Can be mapped to "Steel" color for Outlook(desktop client).

### Preset11 {#Preset11}
```
public static final int Preset11
```


Can be mapped to "DarkSteel" color for Outlook(desktop client).

### Preset12 {#Preset12}
```
public static final int Preset12
```


Can be mapped to "Gray" color for Outlook(desktop client).

### Preset13 {#Preset13}
```
public static final int Preset13
```


Can be mapped to "DarkGray" color for Outlook(desktop client).

### Preset14 {#Preset14}
```
public static final int Preset14
```


Can be mapped to "Black" color for Outlook(desktop client).

### Preset15 {#Preset15}
```
public static final int Preset15
```


Can be mapped to "DarkRed" color for Outlook(desktop client).

### Preset16 {#Preset16}
```
public static final int Preset16
```


Can be mapped to "DarkOrange" color for Outlook(desktop client).

### Preset17 {#Preset17}
```
public static final int Preset17
```


Can be mapped to "DarkBrown" color for Outlook(desktop client).

### Preset18 {#Preset18}
```
public static final int Preset18
```


Can be mapped to "DarkYellow" color for Outlook(desktop client).

### Preset19 {#Preset19}
```
public static final int Preset19
```


Can be mapped to "DarkGreen" color for Outlook(desktop client).

### Preset2 {#Preset2}
```
public static final int Preset2
```


Can be mapped to "Brown" color for Outlook(desktop client).

### Preset20 {#Preset20}
```
public static final int Preset20
```


Can be mapped to "DarkTeal" color for Outlook(desktop client).

### Preset21 {#Preset21}
```
public static final int Preset21
```


Can be mapped to "DarkOlive" color for Outlook(desktop client).

### Preset22 {#Preset22}
```
public static final int Preset22
```


Can be mapped to "DarkBlue" color for Outlook(desktop client).

### Preset23 {#Preset23}
```
public static final int Preset23
```


Can be mapped to "DarkPurple" color for Outlook(desktop client).

### Preset24 {#Preset24}
```
public static final int Preset24
```


Can be mapped to "DarkCranberry" color for Outlook(desktop client).

### Preset3 {#Preset3}
```
public static final int Preset3
```


Can be mapped to "Yellow" color for Outlook(desktop client).

### Preset4 {#Preset4}
```
public static final int Preset4
```


Can be mapped to "Green" color for Outlook(desktop client).

### Preset5 {#Preset5}
```
public static final int Preset5
```


Can be mapped to "Teal" color for Outlook(desktop client).

### Preset6 {#Preset6}
```
public static final int Preset6
```


Can be mapped to "Olive" color for Outlook(desktop client).

### Preset7 {#Preset7}
```
public static final int Preset7
```


Can be mapped to "Blue" color for Outlook(desktop client).

### Preset8 {#Preset8}
```
public static final int Preset8
```


Can be mapped to "Purple" color for Outlook(desktop client).

### Preset9 {#Preset9}
```
public static final int Preset9
```


Can be mapped to "Cranberry" color for Outlook(desktop client).

### Clone() {#Clone--}
```
public System.Enum Clone()
```




**Returns:**
com.aspose.ms.System.Enum
### CloneTo(T arg0) {#CloneTo-T-}
```
public abstract void CloneTo(T arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | T |  |

### CloneTo(System.Enum arg0) {#CloneTo-com.aspose.ms.System.Enum-}
```
public void CloneTo(System.Enum arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Enum |  |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### format(System.Type arg0, Object arg1, String arg2) {#format-com.aspose.ms.System.Type-java.lang.Object-java.lang.String-}
```
public static String format(System.Type arg0, Object arg1, String arg2)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |
| arg1 | java.lang.Object |  |
| arg2 | java.lang.String |  |

**Returns:**
java.lang.String
### format(Class<?> arg0, long arg1, String arg2) {#format-java.lang.Class----long-java.lang.String-}
```
public static String format(Class<?> arg0, long arg1, String arg2)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<?> |  |
| arg1 | long |  |
| arg2 | java.lang.String |  |

**Returns:**
java.lang.String
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getName(System.Type arg0, Object arg1) {#getName-com.aspose.ms.System.Type-java.lang.Object-}
```
public static String getName(System.Type arg0, Object arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |
| arg1 | java.lang.Object |  |

**Returns:**
java.lang.String
### getName(Class<?> arg0, long arg1) {#getName-java.lang.Class----long-}
```
public static String getName(Class<?> arg0, long arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<?> |  |
| arg1 | long |  |

**Returns:**
java.lang.String
### getNames(System.Type arg0) {#getNames-com.aspose.ms.System.Type-}
```
public static String[] getNames(System.Type arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |

**Returns:**
java.lang.String[]
### getNames(Class<?> arg0) {#getNames-java.lang.Class----}
```
public static Collection<String> getNames(Class<?> arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<?> |  |

**Returns:**
java.util.Collection<java.lang.String>
### getUnderlyingType(System.Type arg0) {#getUnderlyingType-com.aspose.ms.System.Type-}
```
public static System.Type getUnderlyingType(System.Type arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |

**Returns:**
com.aspose.ms.System.Type
### getUnderlyingType(Class<?> arg0) {#getUnderlyingType-java.lang.Class----}
```
public static Class<? extends Number> getUnderlyingType(Class<?> arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<?> |  |

**Returns:**
java.lang.Class<? extends java.lang.Number>
### getValue(Class<?> arg0, String arg1) {#getValue-java.lang.Class----java.lang.String-}
```
public static long getValue(Class<?> arg0, String arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<?> |  |
| arg1 | java.lang.String |  |

**Returns:**
long
### getValues(System.Type arg0) {#getValues-com.aspose.ms.System.Type-}
```
public static System.Array getValues(System.Type arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |

**Returns:**
com.aspose.ms.System.Array
### get_Caption() {#get-Caption--}
```
public String get_Caption()
```




**Returns:**
java.lang.String
### get_Value() {#get-Value--}
```
public long get_Value()
```




**Returns:**
long
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### isDefined(System.Type arg0, Object arg1) {#isDefined-com.aspose.ms.System.Type-java.lang.Object-}
```
public static boolean isDefined(System.Type arg0, Object arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |
| arg1 | java.lang.Object |  |

**Returns:**
boolean
### isDefined(System.Type arg0, String arg1) {#isDefined-com.aspose.ms.System.Type-java.lang.String-}
```
public static boolean isDefined(System.Type arg0, String arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |
| arg1 | java.lang.String |  |

**Returns:**
boolean
### isDefined(System.Type arg0, long arg1) {#isDefined-com.aspose.ms.System.Type-long-}
```
public static boolean isDefined(System.Type arg0, long arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |
| arg1 | long |  |

**Returns:**
boolean
### isDefined(Class<?> arg0, long arg1) {#isDefined-java.lang.Class----long-}
```
public static boolean isDefined(Class<?> arg0, long arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<?> |  |
| arg1 | long |  |

**Returns:**
boolean
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### parse(System.Type arg0, String arg1) {#parse-com.aspose.ms.System.Type-java.lang.String-}
```
public static long parse(System.Type arg0, String arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |
| arg1 | java.lang.String |  |

**Returns:**
long
### parse(System.Type arg0, String arg1, Boolean arg2) {#parse-com.aspose.ms.System.Type-java.lang.String-java.lang.Boolean-}
```
public static long parse(System.Type arg0, String arg1, Boolean arg2)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |
| arg1 | java.lang.String |  |
| arg2 | java.lang.Boolean |  |

**Returns:**
long
### parse(Class<?> arg0, String arg1) {#parse-java.lang.Class----java.lang.String-}
```
public static long parse(Class<?> arg0, String arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<?> |  |
| arg1 | java.lang.String |  |

**Returns:**
long
### parse(Class<?> arg0, String arg1, Boolean arg2) {#parse-java.lang.Class----java.lang.String-java.lang.Boolean-}
```
public static long parse(Class<?> arg0, String arg1, Boolean arg2)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<?> |  |
| arg1 | java.lang.String |  |
| arg2 | java.lang.Boolean |  |

**Returns:**
long
### register(System.Enum.AbstractEnum arg0) {#register-com.aspose.ms.System.Enum.AbstractEnum-}
```
public static void register(System.Enum.AbstractEnum arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Enum.AbstractEnum |  |

### toObject(System.Type arg0, Object arg1) {#toObject-com.aspose.ms.System.Type-java.lang.Object-}
```
public static Object toObject(System.Type arg0, Object arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | com.aspose.ms.System.Type |  |
| arg1 | java.lang.Object |  |

**Returns:**
java.lang.Object
### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### toString(Class<?> arg0, long arg1) {#toString-java.lang.Class----long-}
```
public static String toString(Class<?> arg0, long arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Class<?> |  |
| arg1 | long |  |

**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

