windowsforms-devexpress-dot-utils-dot-appearanceobject-b059571c.md
Gets or sets an integer value by which the font size is adjusted.
Namespace : DevExpress.Utils
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[DXCategory("Font")]
[XtraSerializableProperty(XtraSerializationFlags.ForceUseXtraShouldSerialize, 99)]
public virtual int FontSizeDelta { get; set; }
<XtraSerializableProperty(XtraSerializationFlags.ForceUseXtraShouldSerialize, 99)>
<DXCategory("Font")>
Public Overridable Property FontSizeDelta As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value by which the font size is adjusted.
|
The Font property returns a Font object that allows you to specify text format settings, such as font face, size, and style attributes. See Default Application Font for more information about fonts in DevExpress controls.
The Font.Size property specifies the font size. The FontSizeDelta property allows you to specify an integer value by which the specified font size is adjusted. Positive values increase the font size, while negative values decrease it.
Note
If the Font property is set to a custom font and you set the FontSizeDelta property in the designer, the font size is adjusted as follows:
FontSizeDelta are set to their respective values and the actual font size corresponds to the sum of these values.FontSizeDelta property is nullified (i.e., the property is not serialized if you use a custom font).The Font.Style property gets or sets a FontStyle enumeration value that specifies style attributes (bold, italic, etc.). The FontStyleDelta property specifies an additional style attribute applied to the font. For instance, if the font style is already set to Bold and the FontStyleDelta property is set to Underline, the result is underlined bold text.
See Also