Class TextPosition
Represents superscript or subscript position for the formatted text.
Inherited Members
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(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
LocalizedStringValue
A localized representation of the value for this formatting
Declaration
public override string LocalizedStringValue { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
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
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
Clone()
Creates a clone of this object.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
Object |
Overrides
Implements
System.ICloneable