Table of Contents

Class OdfFontSubset

Namespace
OdfKit.Styles
Assembly
OdfKit.dll

Provides the OdfFontSubset API. 表示字型子集化完成後要嵌入 ODF 封裝的結果。

public sealed class OdfFontSubset
Inheritance
OdfFontSubset
Inherited Members

Constructors

OdfFontSubset(byte[], string, string)

Performs odf font subset. 初始化 OdfFontSubset 類別的新執行個體。

public OdfFontSubset(byte[] bytes, string extension, string mediaType)

Parameters

bytes byte[]

字型子集二進位資料

extension string

字型副檔名,例如 .ttf.otf

mediaType string

字型 MIME 類型

Properties

Bytes

Gets the Bytes value. 取得字型子集二進位資料。

public byte[] Bytes { get; }

Property Value

byte[]

Extension

Gets the Extension value. 取得字型副檔名。

public string Extension { get; }

Property Value

string

MediaType

Gets the MediaType value. 取得字型 MIME 類型。

public string MediaType { get; }

Property Value

string