System.Nullable<Length> TextOverlineOffset { get; set; }

robot_2Generated
code_blocksInput

Description

The TextOverlineOffset property in the BaseStyles class represents the text-overline-offset CSS property. This property allows you to specify the offset of the overline text decoration from its default position. It is useful for adjusting the position of the overline to achieve a desired visual effect.

Usage

To use the TextOverlineOffset property, you can set it to a Length value, which can be a specific unit like pixels, ems, or percentages. This property is nullable, meaning it can be set to null to remove any previously set offset.

Example

// Example of setting the TextOverlineOffset property
var styles = new BaseStyles();
styles.TextOverlineOffset = new Length(2, LengthUnit.Pixel); // Sets the overline offset to 2 pixels

// Example of removing the TextOverlineOffset
styles.TextOverlineOffset = null; // Removes any offset, reverting to default behavior