MemoryFontSource

MemoryFontSource

Overview

MemoryFontSource is a class in Aspose.PDF FOSS for .NET. Inherits from: FontSource, IDisposable.

A font source backed by an in-memory font byte buffer.

This class provides 4 methods for working with MemoryFontSource objects in .NET programs. Available methods include: Dispose, Equals, GetHashCode, MemoryFontSource. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: FontBytes.

Properties

NameTypeAccessDescription
FontBytesbyte[]ReadThe raw font bytes used to back this source.

Methods

SignatureDescription
MemoryFontSource(fontBytes: byte[])Calls MemoryFontSource on this MemoryFontSource instance.
Equals(obj: object?)Equal when both sources wrap the same byte array reference.
GetHashCode()Calls GetHashCode on this MemoryFontSource instance.
Dispose()No-op: no native handles are held for in-memory sources.

See Also