Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeFontFace

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

One caller-supplied font face that can be reused by drawing renderers.

Inheritance

  • Object
  • OfficeFontFace

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Properties

public String FamilyName { get; } #

CSS/Office family name used to select the face.

public String ResourceFamilyName { get; } #

Unique family name used by exporters after unicode-range selection.

public OfficeFontStyle Style { get; } #

Bold and italic face attributes.

public OfficeFontFaceDescriptor Descriptor { get; } #

Numeric weight, stretch, and slant attributes used for CSS-compatible face selection.

public OfficeFontUnicodeRangeSet UnicodeRanges { get; } #

Unicode scalars this face is allowed to serve.

public Byte[] Data { get; } #

Independent copy of the accepted face bytes. This is normalized sfnt data for built-in TrueType/WOFF 1 faces and provider-selected bytes for other formats.

public OfficeFontContainerFormat ContainerFormat { get; } #

Detected source container format.

public Boolean CanEmbedAsStaticPdfFont { get; } #

Whether Data is a static sfnt program safe for direct PDF embedding.

public IOfficeFontProgram Program { get; } #

Decoded measurement, shaping, and outline program for this face. Exporters can use this when direct static-font embedding is unavailable, for example for WOFF 2, CFF2, or an active variable-font instance.