[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DirectWrite.Font1

Class Font1

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

IDWriteFont1

[Guid("acd16696-8c14-4f5d-877e-fe3fc1d32738")]
public class Font1 : Font, IDisposable, IUnknown
Inheritance
object
Font1
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

Font1(IntPtr)

Initializes a new instance of the Font1 class.

public Font1(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Metrics

GetMetrics

public FontMetrics1 Metrics { get; }

Property Value

FontMetrics1

Panose

GetPanose

public Panose Panose { get; }

Property Value

Panose

Methods

GetMetrics(out FontMetrics1)

void IDWriteFont1::GetMetrics([Out] DWRITE_FONT_METRICS1* fontMetrics)

public void GetMetrics(out FontMetrics1 fontMetrics)

Parameters

fontMetrics FontMetrics1

GetPanose(out Panose)

void IDWriteFont1::GetPanose([Out] DWRITE_PANOSE* panose)

public void GetPanose(out Panose anoseRef)

Parameters

anoseRef Panose

GetUnicodeRanges(int, UnicodeRange[])

HRESULT IDWriteFont1::GetUnicodeRanges([In] unsigned int maxRangeCount,[Out, Buffer, Optional] DWRITE_UNICODE_RANGE* unicodeRanges,[Out] unsigned int* actualRangeCount)

public int GetUnicodeRanges(int maxRangeCount, UnicodeRange[] unicodeRanges)

Parameters

maxRangeCount int
unicodeRanges UnicodeRange[]

Returns

int

IsMonospacedFont()

BOOL IDWriteFont1::IsMonospacedFont()

public bool IsMonospacedFont()

Returns

bool

Operators

explicit operator Font1(IntPtr)

Performs an explicit conversion from System.IntPtr to Font1.

public static explicit operator Font1(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Font1