Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeFontUnicodeRangeSet

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Implements
IEquatable<OfficeFontUnicodeRangeSet>
Modifiers sealed

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

Accepted by parameters 4

Constructors

public OfficeFontUnicodeRangeSet(IEnumerable<OfficeFontUnicodeRange> ranges) #

Creates a normalized range set.

Parameters

ranges System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeFontUnicodeRange> requiredposition: 0

Methods

public Boolean Contains(Int32 scalar) #
Returns: Boolean

Returns true when the scalar is included.

Parameters

scalar System.Int32 requiredposition: 0
public Boolean ContainsText(String? text) #
Returns: Boolean

Returns true when every scalar in the supplied text is included.

Parameters

text System.String? requiredposition: 0
Equals 2 overloads
public Boolean Equals(OfficeFontUnicodeRangeSet? other) #
Returns: Boolean

Indicates whether the current object is equal to another object of the same type.

Parameters

other OfficeIMO.Drawing.OfficeFontUnicodeRangeSet? requiredposition: 0
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) #
Returns: Boolean

Determines whether the specified object is equal to the current object.

Parameters

obj System.Object? requiredposition: 0
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() #
Returns: Int32

Serves as the default hash function.

Returns

A hash code for the current object.

public static Boolean TryParseCss(String? value, out OfficeFontUnicodeRangeSet? ranges) #
Returns: Boolean

Parses a CSS unicode-range descriptor such as U+0000-00FF or U+4??.

Parameters

value System.String? requiredposition: 0
ranges OfficeIMO.Drawing.OfficeFontUnicodeRangeSet? requiredposition: 1

Properties

public static OfficeFontUnicodeRangeSet All { get; } #

All Unicode scalar values.

public IReadOnlyList<OfficeFontUnicodeRange> Ranges { get; } #

Normalized, ordered ranges.

public Boolean IsAll { get; } #

True when this set covers every Unicode scalar.