Search Results for

    Show / Hide Table of Contents

    Class TextPosition

    Represents superscript or subscript position for the formatted text.

    Inheritance
    object
    AbstractFormattingItem
    TextPosition
    Implements
    IFormattingItem
    ICloneable
    Inherited Members
    AbstractFormattingItem.GetDefaultName(MemberInfo)
    AbstractFormattingItem.Equals(object)
    AbstractFormattingItem.GetHashCode()
    AbstractFormattingItem.ToString()
    AbstractFormattingItem.FormattingName
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.FileTypeSupport.Framework.Formatting
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public class TextPosition : AbstractFormattingItem, IFormattingItem, ICloneable

    Constructors

    TextPosition()

    Creates the text position using the default position, Normal.

    Declaration
    public TextPosition()

    TextPosition(SuperSub)

    Creates the text position using a specific type of position

    Declaration
    public TextPosition(TextPosition.SuperSub value)
    Parameters
    Type Name Description
    TextPosition.SuperSub value

    Properties

    LocalizedFormattingName

    A localized representation of this type of formatting.

    Declaration
    public override string LocalizedFormattingName { get; }
    Property Value
    Type Description
    string
    Overrides
    AbstractFormattingItem.LocalizedFormattingName

    LocalizedStringValue

    A localized representation of the value for this formatting

    Declaration
    public override string LocalizedStringValue { get; }
    Property Value
    Type Description
    string
    Overrides
    AbstractFormattingItem.LocalizedStringValue

    Name

    The string used as name for this type of formatting.

    Declaration
    public static string Name { get; }
    Property Value
    Type Description
    string
    Remarks

    Typically used during de-serialization from a key/value pair.

    StringValue

    A string value representing the Value.

    Declaration
    public override string StringValue { get; set; }
    Property Value
    Type Description
    string
    Overrides
    AbstractFormattingItem.StringValue
    Remarks

    Typically used during serialization

    Value

    Indicates what type of text position this formatting represents.

    Declaration
    public TextPosition.SuperSub Value { get; set; }
    Property Value
    Type Description
    TextPosition.SuperSub

    Methods

    AcceptVisitor(IFormattingVisitor)

    Calls VisitTextPosition(TextPosition) on the visitor.

    Declaration
    public override void AcceptVisitor(IFormattingVisitor visitor)
    Parameters
    Type Name Description
    IFormattingVisitor visitor
    Overrides
    AbstractFormattingItem.AcceptVisitor(IFormattingVisitor)

    Clone()

    Creates a clone of this object.

    Declaration
    public override object Clone()
    Returns
    Type Description
    object
    Overrides
    AbstractFormattingItem.Clone()

    Implements

    IFormattingItem
    ICloneable
    In this article
    • Constructors
      • TextPosition()
      • TextPosition(SuperSub)
    • Properties
      • LocalizedFormattingName
      • LocalizedStringValue
      • Name
      • StringValue
      • Value
    • Methods
      • AcceptVisitor(IFormattingVisitor)
      • Clone()
    • Implements
    Back to top Generated by DocFX