Class ExternalFontCache

Class ExternalFontCache

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

Sử dụng lớp này để lấy thông tin bao bọc phông chữ dưới dạng được chấp nhận bởi Aspose.Page.Device.

public class ExternalFontCache

Kế thừa

objectExternalFontCache

Các thành viên kế thừa

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

Các hàm khởi tạo

ExternalFontCache()

public ExternalFontCache()

Các phương thức

CreateFontByFamilyName(string, float, FontStyle)

Tạo System.Drawing.Font bằng tên họ phông, kiểu và kích thước.

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

Tham số

familyName string

Tên họ phông.

size float

Kích thước phông theo điểm (một điểm bằng 1/72 inch).

style FontStyle

Kiểu phông.

Trả về

Font

Trả về đối tượng Font.

FetchDrFont(string, float, FontStyle)

Lấy Aspose.Page.Font.DrFont bằng tên họ phông, kích thước và kiểu.

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

Tham số

familyName string

Tên họ phông.

sizePoints float

Kích thước phông theo điểm (một điểm bằng 1/72 inch).

style FontStyle

Kiểu phông.

Trả về

DrFont

Trả về DrFont.

 Tiếng Việt