Search Results for

    Show / Hide Table of Contents

    Class FontName

    Represents a human readable font name for formatted text.

    Inheritance
    object
    AbstractFormattingItem
    FontName
    Implements
    IFormattingItem
    ICloneable
    Inherited Members
    AbstractFormattingItem.GetDefaultName(MemberInfo)
    AbstractFormattingItem.Equals(object)
    AbstractFormattingItem.GetHashCode()
    AbstractFormattingItem.ToString()
    AbstractFormattingItem.FormattingName
    AbstractFormattingItem.LocalizedStringValue
    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 FontName : AbstractFormattingItem, IFormattingItem, ICloneable

    Constructors

    FontName()

    Constructs a font name using the default font (Arial Unicode MS).

    Declaration
    public FontName()

    FontName(string)

    Construction from a specified font name.

    Declaration
    public FontName(string value)
    Parameters
    Type Name Description
    string value

    Name of the font

    Properties

    LocalizedFormattingName

    A localized representation of this type of formatting.

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

    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 key/value pair.

    StringValue

    The font name, same as Value

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

    Value

    The font name

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    string

    Methods

    AcceptVisitor(IFormattingVisitor)

    Calls VisitFontName(FontName) 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
      • FontName()
      • FontName(string)
    • Properties
      • LocalizedFormattingName
      • Name
      • StringValue
      • Value
    • Methods
      • AcceptVisitor(IFormattingVisitor)
      • Clone()
    • Implements
    Back to top Generated by DocFX