Class ExternalFontCache

Class ExternalFontCache

Tên không gian: Aspose.Page Tổng hợp: Aspose.Page.dll (25.5.0)

Sử dụng lớp này để có được phông chữ encapsulation trong một hình thức được chấp nhận bởi Aspose.Page.Device.

public class ExternalFontCache

Inheritance

object ExternalFontCache

Thành viên thừa kế

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

Constructors

ExternalFontCache()

public ExternalFontCache()

Methods

CreateFontByFamilyName(Màn hình, Float, FontStyle)

Tạo System.Drawing.Font theo tên gia đình, phong cách và kích cỡ.

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

Parameters

familyName string

Nhập tên gia đình.

size float

Kích thước phông chữ trong điểm (một điểm là 1/72 inch).

style FontStyle

Phong cách Font.

Returns

Font

Trở lại Font Object.

FetchDrFont(Màn hình, Float, FontStyle)

Nhập Aspose.Page.Font.DrFont bằng tên, kích cỡ và phong cách của dòng chữ.

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

Parameters

familyName string

Nhập tên gia đình.

sizePoints float

Kích thước phông chữ trong điểm (một điểm là 1/72 inch).

style FontStyle

Phong cách Font.

Returns

DrFont

Trở lại DrFont

 Tiếng Việt