
**Inheritance:**
java.lang.Object
```
public class FontInfo
```

The FontInfo represents font-related style information for a web control..
## Constructors

| Constructor | Description |
| --- | --- |
| [FontInfo()](#FontInfo--) |  |
## Methods

| Method | Description |
| --- | --- |
| [copyFrom(FontInfo f)](#copyFrom-com.aspose.gridweb.FontInfo-) | Duplicates the font properties of the specified FontInfo into the instance of the FontInfo class that this method is called from. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getBold()](#getBold--) | indicates whether the font is bold. |
| [getClass()](#getClass--) |  |
| [getItalic()](#getItalic--) | indicates whether the font is italic. |
| [getName()](#getName--) | Gets the primary font name. |
| [getOverline()](#getOverline--) | indicates whether the font is overlined. |
| [getSize()](#getSize--) | Gets the font size. |
| [getStrikeout()](#getStrikeout--) | indicates whether the font is strikethrough. |
| [getUnderline()](#getUnderline--) | indicates whether the font is underlined.. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setBold(boolean value)](#setBold-boolean-) | set whether the font is bold.. |
| [setItalic(boolean value)](#setItalic-boolean-) | set whether the font is italic. |
| [setName(String value)](#setName-java.lang.String-) | or sets the primary font name |
| [setOverline(boolean value)](#setOverline-boolean-) | set whether the font is overlined. |
| [setSize(FontUnit value)](#setSize-com.aspose.gridweb.FontUnit-) | sets the font size |
| [setStrikeout(boolean value)](#setStrikeout-boolean-) | set whether the font is strikethrough. |
| [setUnderline(boolean value)](#setUnderline-boolean-) | set whether the font is underlined. |
| [toString()](#toString--) | Returns a string that contains the font name and size for an instance of the FontInfo class. |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### FontInfo() {#FontInfo--}
```
public FontInfo()
```


### copyFrom(FontInfo f) {#copyFrom-com.aspose.gridweb.FontInfo-}
```
public void copyFrom(FontInfo f)
```


Duplicates the font properties of the specified FontInfo into the instance of the FontInfo class that this method is called from.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| f | [FontInfo](../../com.aspose.gridweb/fontinfo) |  |

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




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

**Returns:**
boolean
### getBold() {#getBold--}
```
public boolean getBold()
```


indicates whether the font is bold.

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getItalic() {#getItalic--}
```
public boolean getItalic()
```


indicates whether the font is italic.

**Returns:**
boolean
### getName() {#getName--}
```
public String getName()
```


Gets the primary font name.

**Returns:**
java.lang.String
### getOverline() {#getOverline--}
```
public boolean getOverline()
```


indicates whether the font is overlined.

**Returns:**
boolean
### getSize() {#getSize--}
```
public FontUnit getSize()
```


Gets the font size.

**Returns:**
[FontUnit](../../com.aspose.gridweb/fontunit)
### getStrikeout() {#getStrikeout--}
```
public boolean getStrikeout()
```


indicates whether the font is strikethrough.

**Returns:**
boolean
### getUnderline() {#getUnderline--}
```
public boolean getUnderline()
```


indicates whether the font is underlined..

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




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




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




### setBold(boolean value) {#setBold-boolean-}
```
public void setBold(boolean value)
```


set whether the font is bold..

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setItalic(boolean value) {#setItalic-boolean-}
```
public void setItalic(boolean value)
```


set whether the font is italic.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setName(String value) {#setName-java.lang.String-}
```
public void setName(String value)
```


or sets the primary font name

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setOverline(boolean value) {#setOverline-boolean-}
```
public void setOverline(boolean value)
```


set whether the font is overlined.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setSize(FontUnit value) {#setSize-com.aspose.gridweb.FontUnit-}
```
public void setSize(FontUnit value)
```


sets the font size

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [FontUnit](../../com.aspose.gridweb/fontunit) |  |

### setStrikeout(boolean value) {#setStrikeout-boolean-}
```
public void setStrikeout(boolean value)
```


set whether the font is strikethrough.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setUnderline(boolean value) {#setUnderline-boolean-}
```
public void setUnderline(boolean value)
```


set whether the font is underlined.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### toString() {#toString--}
```
public String toString()
```


Returns a string that contains the font name and size for an instance of the FontInfo class.

**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 |  |

