## Font::SetName(const U16String\&, FontSchemeType) method


Sets name and scheme of the font.

```cpp
void Aspose::Cells::Font::SetName(const U16String &name, FontSchemeType type)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const U16String\& |  |
| type | FontSchemeType |  |

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Enum [FontSchemeType](../../fontschemetype/)
* Class [Font](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Font::SetName(const char16_t*, FontSchemeType) method


Sets name and scheme of the font.

```cpp
void Aspose::Cells::Font::SetName(const char16_t *name, FontSchemeType type)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const char16_t* |  |
| type | FontSchemeType |  |

## See Also

* Class [Vector](../../vector/)
* Enum [FontSchemeType](../../fontschemetype/)
* Class [Font](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Font::SetName(const U16String\&) method


Gets or sets the name of the [Font](../).

```cpp
void Aspose::Cells::Font::SetName(const U16String &value)
```

## Remarks


If this property is used to set the name of the font, the Font.SchemeType will be updated to [FontSchemeType.None](../../fontschemetype/)
## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [Font](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Font::SetName(const char16_t*) method


Gets or sets the name of the [Font](../).

```cpp
void Aspose::Cells::Font::SetName(const char16_t *value)
```

## Remarks


If this property is used to set the name of the font, the Font.SchemeType will be updated to [FontSchemeType.None](../../fontschemetype/)
## See Also

* Class [Vector](../../vector/)
* Class [Font](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
