## DefaultStyleSettings class


[Settings](../../aspose.cells.settings/) for the default values of workbook's style properties.

```cpp
class DefaultStyleSettings
```

## Methods

| Method | Description |
| --- | --- |
| [DefaultStyleSettings(DefaultStyleSettings_Impl* impl)](./defaultstylesettings/) | Constructs from an implementation object. |
| [DefaultStyleSettings(const DefaultStyleSettings\& src)](./defaultstylesettings/) | Copy constructor. |
| [GetBuiltInPreference()](./getbuiltinpreference/) | Indicates whether property for number format is preferable when the style defines both built-in number and custom pattern. Default value is false, that means by default custom pattern will be used to format values as long as it is not empty for one style. |
| [GetFontName()](./getfontname/) | Gets/Sets the default font name for the workbook. |
| [GetFontSize()](./getfontsize/) | Gets/Sets the default standard font size for the workbook. |
| [GetHorizontalAlignment()](./gethorizontalalignment/) | Gets/Sets the default value for horizontal alignment. |
| [GetVerticalAlignment()](./getverticalalignment/) | Gets/Sets the default value for vertical alignment. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const DefaultStyleSettings\& src)](./operator_asm/) | operator= |
| [SetBuiltInPreference(bool value)](./setbuiltinpreference/) | Indicates whether property for number format is preferable when the style defines both built-in number and custom pattern. Default value is false, that means by default custom pattern will be used to format values as long as it is not empty for one style. |
| [SetFontName(const U16String\& value)](./setfontname/) | Gets/Sets the default font name for the workbook. |
| [SetFontName(const char16_t* value)](./setfontname/) | Gets/Sets the default font name for the workbook. |
| [SetFontSize(double value)](./setfontsize/) | Gets/Sets the default standard font size for the workbook. |
| [SetHorizontalAlignment(TextAlignmentType value)](./sethorizontalalignment/) | Gets/Sets the default value for horizontal alignment. |
| [SetVerticalAlignment(TextAlignmentType value)](./setverticalalignment/) | Gets/Sets the default value for vertical alignment. |
| [~DefaultStyleSettings()](./~defaultstylesettings/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Namespace [Aspose::Cells](../)
* Library [Aspose.Cells for C++](../../)
