Class TextDirection
Formatting representing the direction of the text flow. This is used for custom bi-directional text insertions.
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 TextDirection : AbstractFormattingItem, IFormattingItem, ICloneable
Constructors
TextDirection()
Default constructor
Declaration
public TextDirection()
TextDirection(Direction)
Construct with explicit direction
Declaration
public TextDirection(Direction direction)
Parameters
Type | Name | Description |
---|---|---|
Direction | direction |
TextDirection(TextDirection)
Cloning constructor
Declaration
public TextDirection(TextDirection other)
Parameters
Type | Name | Description |
---|---|---|
TextDirection | other |
Properties
Direction
The direction in which the text should be displayed when this formatting is applied
Declaration
public Direction Direction { get; set; }
Property Value
Type | Description |
---|---|
Direction |
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 of the type of 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
The string value representing the value of the Direction
Declaration
public override string StringValue { get; set; }
Property Value
Type | Description |
---|---|
String |
Overrides
Methods
AcceptVisitor(IFormattingVisitor)
Visitor implementation
Declaration
public override void AcceptVisitor(IFormattingVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
IFormattingVisitor | visitor |
Overrides
Clone()
ICloneable implementation
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
Object |
Overrides
Implements
System.ICloneable