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
    System.ICloneable
    In this article
    Back to top Generated by DocFX