FontData — Aspose.Slides FOSS for C++ API Reference
Enumerations FontData lớp đại diện cho tên phông chữ và siêu dữ liệu được sử dụng trong định dạng văn bản.
Enumerations: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/font_data.h>class FontDataEnumerations: include/Aspose/Slides/Foss/font_data.h
Giao diện IFontData
Enumerations IFontData giao diện (từ i_font_data.h) định nghĩa:
| Enumerations | Enumerations |
|---|---|
font_name() | Trả về tên họ phông chữ. |
set_font_name(const std::string&) | Đặt tên họ phông chữ. |
Enumerations
Dữ liệu phông chữ thường được truy cập thông qua PortionFormat trên một Portion đối tượng:
// Conceptual usage:
// auto& portion_format = portion.portion_format();
// auto& font = portion_format.latin_font();
// font.set_font_name("Arial");