Class FontName
Represents a human readable font name for 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 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
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
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
Clone()
Creates a clone of this object.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
Object |
Overrides
Implements
System.ICloneable