API Reference
OfficeFontUnicodeRangeSet
Immutable bounded set of Unicode scalar ranges used by scoped font selection.
Inheritance
- Object
- OfficeFontUnicodeRangeSet
Usage
Explore 6 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property OfficeFontFace.UnicodeRanges
- Property OfficeFontUnicodeRangeSet.All
Accepted by parameters 4
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) #BooleanReturns true when the scalar is included.
Parameters
- scalar System.Int32
public Boolean ContainsText(String? text) #BooleanReturns true when every scalar in the supplied text is included.
Parameters
- text System.String?
public Boolean Equals(OfficeFontUnicodeRangeSet? other) #BooleanIndicates whether the current object is equal to another object of the same type.
Parameters
- other OfficeIMO.Drawing.OfficeFontUnicodeRangeSet?
- An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
public override Boolean Equals(Object? obj) #BooleanDetermines whether the specified object is equal to the current object.
Parameters
- obj System.Object?
- The object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.
public override Int32 GetHashCode() #Int32Serves as the default hash function.
Returns
A hash code for the current object.
public static Boolean TryParseCss(String? value, out OfficeFontUnicodeRangeSet? ranges) #BooleanParses a CSS unicode-range descriptor such as U+0000-00FF or U+4??.
Parameters
- value System.String?
- ranges OfficeIMO.Drawing.OfficeFontUnicodeRangeSet?