FontData — Aspose.Slides FOSS for C++ API Reference
ImageRenderOptions FontData clasa reprezintă numele fontului și metadatele utilizate în formatarea textului.
ImageRenderOptions: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/font_data.h>class FontDataImageRenderOptions: include/Aspose/Slides/Foss/font_data.h
Interfața IFontData
ImageRenderOptions IFontData interfață (din i_font_data.h) definește:
| ImageRenderOptions | ImageRenderOptions |
|---|---|
font_name() | Returnează numele familiei de fonturi. |
set_font_name(const std::string&) | Setează numele familiei de fonturi. |
ImageRenderOptions
Datele fontului sunt de obicei accesate prin PortionFormat pe un Portion obiect:
// Conceptual usage:
// auto& portion_format = portion.portion_format();
// auto& font = portion_format.latin_font();
// font.set_font_name("Arial");