OpenTypeMetrics Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to OpenType font metrics.
public class OpenTypeMetrics
- Inheritance
-
OpenTypeMetrics
Constructors
| Name | Description |
|---|---|
| OpenTypeMetrics(Font) |
Initializes a new instance of the OpenTypeMetrics struct for the specified font. |
Methods
| Name | Description |
|---|---|
| GetVariation(OpenTypeMetricsTag) |
Gets the variation value for the specified metrics tag. |
| GetXVariation(OpenTypeMetricsTag) |
Gets the horizontal variation value for the specified metrics tag. |
| GetYVariation(OpenTypeMetricsTag) |
Gets the vertical variation value for the specified metrics tag. |
| TryGetPosition(OpenTypeMetricsTag, Int32) |
Tries to get the position for the specified metrics tag. |