Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a validated synchronous font registration request.

API: engine
Project: Inno.UI

public Inno.UI.UiFontRegistration.UiFontRegistration(System.ReadOnlyMemory<byte> data, int faceIndex, string family, Inno.Text.TextFontStyle style, int weight)

Parameter data: Encoded font bytes, valid for the duration of the backend call.

Parameter faceIndex: Zero-based face index in a font collection.

Parameter family: Logical family visible to document authors.

Parameter style: Requested logical font style.

Parameter weight: CSS-compatible weight from 100 through 1000.