Click or drag to resize

FontVertialAlignmentType Enumeration

Defines the possible settings for vertical alignment of a run of text. This is used to get superscript or subscript text without altering the font size properties of the rest of the text run.

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public enum FontVertialAlignmentType
Members
Member name Value Description
Baseline 0 Returns the text in this run to the baseline, default, alignment, and returns it to the original font size.
Superscript 1 Specifies that this text should be superscript. Raises the text in this run above the baseline and changes it to a smaller size, if a smaller size is available.
Subscript 2 Specifies that this text should be subscript. Lowers the text in this run below the baseline and changes it to a smaller size, if a smaller size is available.
See Also