Click or drag to resize
TextPosition Class
Represents superscript or subscript position for the formatted text.
Inheritance Hierarchy

Namespace: Sdl.FileTypeSupport.Framework.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
[SerializableAttribute]
public class TextPosition : AbstractFormattingItem

The TextPosition type exposes the following members.

Constructors
  NameDescription
Public methodTextPosition
Creates the text position using the default position, Normal.
Public methodTextPosition(TextPositionSuperSub)
Creates the text position using a specific type of position
Top
Properties
  NameDescription
Public propertyFormattingName
The name of this type of formatting. The default implementation returns the type name of the actual class, but this can be overridden in derived classes.

The name may be used as an attribute name when storing this formatting in XML format, in which case the value of the attribute represents the StringValue property.

(Inherited from AbstractFormattingItem.)
Public propertyLocalizedFormattingName
A localized representation of this type of formatting.
(Overrides AbstractFormattingItemLocalizedFormattingName.)
Public propertyLocalizedStringValue
A localized representation of the value for this formatting
(Overrides AbstractFormattingItemLocalizedStringValue.)
Public propertyStatic memberName
The string used as name for this type of formatting.
Public propertyStringValue
A string value representing the Value.
(Overrides AbstractFormattingItemStringValue.)
Public propertyValue
Indicates what type of text position this formatting represents.
Top
Methods
  NameDescription
Public methodAcceptVisitor
Calls VisitTextPosition(TextPosition) on the visitor.
(Overrides AbstractFormattingItemAcceptVisitor(IFormattingVisitor).)
Public methodClone
Creates a clone of this object.
(Overrides AbstractFormattingItemClone.)
Public methodEquals
Compares the name and value properties of the objects.
(Inherited from AbstractFormattingItem.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Inherited from AbstractFormattingItem.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
For debugging; returns "FormattingName = StringValue".
(Inherited from AbstractFormattingItem.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments