Search Results for

    Show / Hide Table of Contents

    Class VerticalPositionValues

    Specifies the vertical position of text relative to the baseline.

    Inheritance
    System.Object
    VerticalPositionValues
    Namespace: IronWord.Models.Enums
    Assembly: IronWord.dll
    Syntax
    public sealed class VerticalPositionValues : Enum

    Raise or lower text relative to the baseline by setting a VerticalPositionValues member on TextStyle.VerticalTextAlignment. Baseline is normal on-the-line text, Superscript lifts characters above the baseline for exponents and ordinals, and Subscript drops them below for chemical formulas and footnote marks. The styling text in Word walkthrough applies run-level formatting like this.

    textStyle.VerticalTextAlignment = VerticalPositionValues.Superscript;

    Fields

    Baseline

    Text is aligned with the baseline.

    Declaration
    public const VerticalPositionValues Baseline
    Field Value
    Type Description
    VerticalPositionValues

    Subscript

    Text is displayed as a subscript, positioned below the baseline.

    Declaration
    public const VerticalPositionValues Subscript
    Field Value
    Type Description
    VerticalPositionValues

    Superscript

    Text is displayed as a superscript, positioned above the baseline.

    Declaration
    public const VerticalPositionValues Superscript
    Field Value
    Type Description
    VerticalPositionValues

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet