• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FontFallBackRulesCollection

A collection of FontFallBackRule objects that define Unicode-range-to-font fallback mappings for the presentation.

Inheritance
object
FontFallBackRulesCollection
Implements
IList<FontFallBackRule>
ICollection<FontFallBackRule>
IEnumerable<FontFallBackRule>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public class FontFallBackRulesCollection : IList<FontFallBackRule>, ICollection<FontFallBackRule>, IEnumerable<FontFallBackRule>, IEnumerable

Properties

Count

Gets the number of items in this collection.

Declaration
public int Count { get; }
Property Value
Type Description
int

IsReadOnly

Gets or sets whether is read only is enabled.

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
bool

this[int]

Gets or sets the value associated with this object.

Declaration
public FontFallBackRule this[int index] { get; set; }
Parameters
Type Name Description
int index
Property Value
Type Description
FontFallBackRule

Methods

Add(FontFallBackRule)

Adds the value to this font fall back rules collection.

Declaration
public void Add(FontFallBackRule item)
Parameters
Type Name Description
FontFallBackRule item

The item to add, remove, or inspect.

Add(string, params string[])

Adds the value to this font fall back rules collection.

Declaration
public FontFallBackRule Add(string range, params string[] fallBackFonts)
Parameters
Type Name Description
string range

The range supplied to this operation.

string[] fallBackFonts
Returns
Type Description
FontFallBackRule

The newly added value.

Clear()

Removes all entries from this font fall back rules collection.

Declaration
public void Clear()

Contains(FontFallBackRule)

Determines whether this font fall back rules collection contains the specified item.

Declaration
public bool Contains(FontFallBackRule item)
Parameters
Type Name Description
FontFallBackRule item

The item to add, remove, or inspect.

Returns
Type Description
bool

true if the operation succeeds; otherwise, false.

CopyTo(FontFallBackRule[], int)

Copies the collection items to the supplied destination array.

Declaration
public void CopyTo(FontFallBackRule[] array, int arrayIndex)
Parameters
Type Name Description
FontFallBackRule[] array

The destination array that receives the copied items.

int arrayIndex

GetEnumerator()

Returns an enumerator that iterates through this collection.

Declaration
public IEnumerator<FontFallBackRule> GetEnumerator()
Returns
Type Description
IEnumerator<FontFallBackRule>

An enumerator that iterates through this collection.

IndexOf(FontFallBackRule)

Returns the zero-based index of the specified item.

Declaration
public int IndexOf(FontFallBackRule item)
Parameters
Type Name Description
FontFallBackRule item

The item to add, remove, or inspect.

Returns
Type Description
int

The index of value produced by the operation.

Insert(int, FontFallBackRule)

Inserts an item at the specified zero-based index.

Declaration
public void Insert(int index, FontFallBackRule item)
Parameters
Type Name Description
int index

The zero-based index of the item.

FontFallBackRule item

The item to add, remove, or inspect.

Remove(FontFallBackRule)

Removes the value from this font fall back rules collection.

Declaration
public bool Remove(FontFallBackRule item)
Parameters
Type Name Description
FontFallBackRule item

The item to add, remove, or inspect.

Returns
Type Description
bool

true if the operation succeeds; otherwise, false.

RemoveAt(int)

Removes the item at the specified zero-based index.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index

The zero-based index of the item.

Implements

IList<T>
ICollection<T>
IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX