[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.FontFeature.-ctor

FontFeature Constructor

FontFeature(FeatureTag)

Initializes a new instance of FontFeature, enabled by default.

Declaration
public FontFeature(FeatureTag featureTag)
Public Sub New(featureTag As FeatureTag)
Parameters
Type Name Description
FeatureTag featureTag

FontFeature(FeatureTag, bool)

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

Declaration
public FontFeature(FeatureTag featureTag, bool enabled)
Public Sub New(featureTag As FeatureTag, enabled As Boolean)
Parameters
Type Name Description
FeatureTag featureTag
bool enabled

FontFeature(FeatureTag, int, bool)

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

Declaration
public FontFeature(FeatureTag featureTag, int parameter, bool applyLastAlternativeIfNotAvailable = true)
Public Sub New(featureTag As FeatureTag, parameter As Integer, Optional applyLastAlternativeIfNotAvailable As Boolean = True)
Parameters
Type Name Description
FeatureTag featureTag
int parameter
bool applyLastAlternativeIfNotAvailable