[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.FontFeature

Class FontFeature

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

Identifies the typographic feature in the OpenType font.

public class FontFeature
Inheritance
object
FontFeature
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

FontFeature(FeatureTag, bool)

Initializes a new instance of FontFeature with a value indicating whether the feature is enable or disabled.

public FontFeature(FeatureTag featureTag, bool enabled)

Parameters

featureTag FeatureTag
enabled bool

FontFeature(FeatureTag, int, bool)

Initializes a new instance of FontFeature with the specified 1-based position of alternate glyph ID.

public FontFeature(FeatureTag featureTag, int parameter, bool applyLastAlternativeIfNotAvailable = true)

Parameters

featureTag FeatureTag
parameter int
applyLastAlternativeIfNotAvailable bool

FontFeature(FeatureTag)

Initializes a new instance of FontFeature, enabled by default.

public FontFeature(FeatureTag featureTag)

Parameters

featureTag FeatureTag

Properties

ApplyLastAlternativeIfNotAvailable

Indicates whether the last alternative should be applied if the specified position exceeds the number of alternatives.

public bool ApplyLastAlternativeIfNotAvailable { get; set; }

Property Value

bool

Enabled

Gets or sets a value indicating whether the feature should be enabled.

public bool Enabled { get; set; }

Property Value

bool

FeatureTag

The OpenType name identifier of the feature.

public FeatureTag FeatureTag { get; set; }

Property Value

FeatureTag

Parameter

Specifies 1-based position of the alternate glyph ID in Alternate Substitution lookup.

public int Parameter { get; set; }

Property Value

int