Class ExternalFontCache

Class ExternalFontCache

Namespace: Aspose.Page
Assembly: Aspose.Page.dll (25.1.2)

このクラスを使用して、Aspose.Page.Device に受け入れられる形式でフォントのカプセル化を取得します。

public class ExternalFontCache

継承

objectExternalFontCache

継承されたメンバー

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

コンストラクタ

ExternalFontCache()

public ExternalFontCache()

メソッド

CreateFontByFamilyName(string, float, FontStyle)

フォントファミリ名、スタイル、およびサイズによって System.Drawing.Font を作成します。

public static Font CreateFontByFamilyName(string familyName, float size, FontStyle style)

パラメーター

familyName string

フォントファミリ名。

size float

ポイント単位のフォントサイズ(1 ポイントは 1/72 インチです)。

style FontStyle

フォントスタイル。

戻り値

Font

Font オブジェクトを返します。

FetchDrFont(string, float, FontStyle)

フォントファミリ名、サイズ、およびスタイルによって Aspose.Page.Font.DrFont を取得します。

public static DrFont FetchDrFont(string familyName, float sizePoints, FontStyle style)

パラメーター

familyName string

フォントファミリ名。

sizePoints float

ポイント単位のフォントサイズ(1 ポイントは 1/72 インチです)。

style FontStyle

フォントスタイル。

戻り値

DrFont

DrFont を返します。

 日本語