Class DefaultStyleSettings

DefaultStyleSettings class

Settings for the default values of workbook’s style properties.

public class DefaultStyleSettings

Properties

NameDescription
BuiltInPreference { get; set; }Indicates whether property for number format is preferrable 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.
FontName { get; set; }Gets/Sets the default font name for the workbook
FontSize { get; set; }Gets/Sets the default standard font size for the workbook.
HorizontalAlignment { get; set; }Gets/Sets the default value for horizontal alignment
VerticalAlignment { get; set; }Gets/Sets the default value for vertical alignment

See Also