Class DWriteTypography
Font typography setting.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.DWrite
Assembly: JeremyAnsel.DirectX.DWrite.dll
Syntax
[SecurityCritical]
public class DWriteTypography : DXComObject, IDisposable
Constructors
| Edit this page View SourceDWriteTypography(nint)
Initializes a new instance of the DWriteTypography class.
Declaration
public DWriteTypography(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceDWriteTypographyGuid
The interface GUID.
Declaration
public static readonly Guid DWriteTypographyGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Methods
| Edit this page View SourceAddFontFeature(DWriteFontFeature)
Add font feature.
Declaration
public void AddFontFeature(DWriteFontFeature fontFeature)
Parameters
| Type | Name | Description |
|---|---|---|
| DWriteFontFeature | fontFeature | The font feature to add. |
GetFontFeature(uint)
Get the font feature at the specified index.
Declaration
public DWriteFontFeature GetFontFeature(uint fontFeatureIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | fontFeatureIndex | The zero-based index of the font feature to get. |
Returns
| Type | Description |
|---|---|
| DWriteFontFeature |
GetFontFeatureCount()
Get the number of font features.
Declaration
public uint GetFontFeatureCount()
Returns
| Type | Description |
|---|---|
| uint |