API Reference
Class
OfficeFontUnicodeRangeSet
Immutable bounded set of Unicode scalar ranges used by scoped font selection.
Inheritance
- Object
- OfficeFontUnicodeRangeSet
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficeFontFace.UnicodeRanges
- Property OfficeFontUnicodeRangeSet.All
Accepted by parameters
- Method OfficeFontFaceCollection.Add
- Method OfficeFontFaceCollection.Add
- Method OfficeFontFaceCollection.TryAdd
- Method OfficeFontFaceCollection.TryAdd
- Method OfficeFontUnicodeRangeSet.Equals
- Method OfficeFontUnicodeRangeSet.TryParseCss
Constructors
public OfficeFontUnicodeRangeSet(IEnumerable<OfficeFontUnicodeRange> ranges) #Creates a normalized range set.
Parameters
- ranges System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeFontUnicodeRange}
Methods
public Boolean Contains(Int32 scalar) #Returns:
BooleanReturns true when the scalar is included.
Parameters
- scalar System.Int32
public Boolean ContainsText(String text) #Returns:
BooleanReturns true when every scalar in the supplied text is included.
Parameters
- text System.String
Equals 2 overloads
public override Int32 GetHashCode() #Returns:
Int32public static Boolean TryParseCss(String value, out OfficeFontUnicodeRangeSet ranges) #Returns:
BooleanParses a CSS unicode-range descriptor such as U+0000-00FF or U+4??.
Parameters
- value System.String
- ranges OfficeIMO.Drawing.OfficeFontUnicodeRangeSet@