FontData — Aspose.Slides FOSS for C++ API Reference

Properties FontData الفئة تمثل اسم الخط والبيانات الوصفية المستخدمة في تنسيق النص.

Properties: Aspose::Slides::Foss

#include <Aspose/Slides/Foss/font_data.h>
class FontData

Properties: include/Aspose/Slides/Foss/font_data.h


واجهة IFontData

Properties IFontData الواجهة (من i_font_data.h) يحدد:

PropertiesProperties
font_name()يرجع اسم عائلة الخط.
set_font_name(const std::string&)يضبط اسم عائلة الخط.

Properties

عادةً ما يتم الوصول إلى بيانات الخط عبر PortionFormat على Portion كائن:

// Conceptual usage:
// auto& portion_format = portion.portion_format();
// auto& font = portion_format.latin_font();
// font.set_font_name("Arial");

انظر أيضًا

 العربية