[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DirectWrite.Typography

Class Typography

Namespace
GrapeCity.Documents.DX.DirectWrite
Assembly
GcDocs.DX.Windows.dll

IDWriteTypography

[Guid("55f1112b-1dc2-4b3c-9541-f46894ed85b6")]
public class Typography : ComObject, IDisposable, IUnknown
Inheritance
object
Typography
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Typography(IntPtr)

Initializes a new instance of the Typography class.

public Typography(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

AddFontFeature(FontFeature)

HRESULT IDWriteTypography::AddFontFeature([In] DWRITE_FONT_FEATURE fontFeature)

public void AddFontFeature(FontFeature fontFeature)

Parameters

fontFeature FontFeature

Create(Factory)

Creates a typography object for use in a text layout.

public static Typography Create(Factory factory)

Parameters

factory Factory

an instance of Factory

Returns

Typography

GetFontFeature(int)

HRESULT IDWriteTypography::GetFontFeature([In] unsigned int fontFeatureIndex,[Out] DWRITE_FONT_FEATURE* fontFeature)

public FontFeature GetFontFeature(int fontFeatureIndex)

Parameters

fontFeatureIndex int

Returns

FontFeature

GetFontFeatureCount()

unsigned int IDWriteTypography::GetFontFeatureCount()

public int GetFontFeatureCount()

Returns

int

Operators

explicit operator Typography(IntPtr)

Performs an explicit conversion from System.IntPtr to Typography.

public static explicit operator Typography(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Typography