[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgFontFamily

Class SvgFontFamily

Namespace
GrapeCity.Documents.Svg
Assembly
GcDocs.Imaging.dll

Specifies a font family name or a generic family name.

public class SvgFontFamily : IEquatable<SvgFontFamily>
Inheritance
object
SvgFontFamily
Implements
System.IEquatable<T><SvgFontFamily>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Constructors

SvgFontFamily(string, bool)

Initializes a new instance of SvgFontFamily.

public SvgFontFamily(string fontName, bool quoted = false)

Parameters

fontName string

The name of the font family.

quoted bool

Indicates whether the token must be quoted.

Fields

Cursive

Gets the 'cursive' font family.

public static readonly SvgFontFamily Cursive

Field Value

SvgFontFamily

Fantasy

Gets the 'fantasy' font family.

public static readonly SvgFontFamily Fantasy

Field Value

SvgFontFamily

Monospace

Gets the 'monospace' font family.

public static readonly SvgFontFamily Monospace

Field Value

SvgFontFamily

SansSerif

Gets the 'sans-serif' font family.

public static readonly SvgFontFamily SansSerif

Field Value

SvgFontFamily

Serif

Gets the 'serif' font family.

public static readonly SvgFontFamily Serif

Field Value

SvgFontFamily

Properties

FamilyType

Gets a type of the font family (regular font name or a generic family name).

public SvgFontFamilyType FamilyType { get; }

Property Value

SvgFontFamilyType

FontName

Gets the specific (non-generic) font name.

public string FontName { get; }

Property Value

string

Quoted

Gets a value indicating whether the font name must be quoted.

public bool Quoted { get; }

Property Value

bool

Methods

Equals(SvgFontFamily)

Determines whether the specified SvgFontFamily is equal to this instance.

public bool Equals(SvgFontFamily other)

Parameters

other SvgFontFamily

Returns

bool

Equals(object)

Determines whether the specified object is equal to this instance.

public override bool Equals(object value)

Parameters

value object

Returns

bool

GetHashCode()

Returns a hash code for this instance.

public override int GetHashCode()

Returns

int

ToString()

Returns a string that represents the current SvgFontFamily.

public override string ToString()

Returns

string