Language 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.
Represents a language tag used for text shaping.
public class Language : HarfBuzzSharp.NativeObject
- Inheritance
Remarks
Language tags are used to identify the language of text being shaped, which affects how certain characters are rendered.
Constructors
| Name | Description |
|---|---|
| Language(CultureInfo) |
Initializes a new instance of the Language class from a CultureInfo. |
| Language(String) |
Initializes a new instance of the Language class from a BCP 47 language tag string. |
Properties
| Name | Description |
|---|---|
| Default |
Gets the default language based on the current locale. |
| Handle |
Gets or sets the handle to the underlying native object. (Inherited from NativeObject) |
| Name |
Gets the BCP 47 language tag string representation. |
Methods
| Name | Description |
|---|---|
| Dispose() |
Releases all resources used by this NativeObject. (Inherited from NativeObject) |
| Dispose(Boolean) |
Releases the unmanaged resources used by the NativeObject and optionally releases the managed resources. (Inherited from NativeObject) |
| DisposeHandler() |
Releases the unmanaged resources used. (Inherited from NativeObject) |
| Equals(Object) |
Determines whether the specified object is equal to the current language. |
| GetHashCode() |
Returns a hash code for this instance. |
| ToString() |
Returns a string representation of the language. |