FontData — Aspose.Slides FOSS for C++ API Reference
ImageRenderOptions FontData クラスはテキストフォーマットで使用されるフォント名とメタデータを表します。.
ImageRenderOptions: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/font_data.h>class FontDataImageRenderOptions: include/Aspose/Slides/Foss/font_data.h
IFontData インターフェース
ImageRenderOptions IFontData インターフェース (from i_font_data.h) は次のことを定義します::
| ImageRenderOptions | ImageRenderOptions |
|---|---|
font_name() | フォントファミリー名を返します。. |
set_font_name(const std::string&) | フォントファミリー名を設定します。. |
ImageRenderOptions
フォントデータは通常、次を通じてアクセスされます。 PortionFormat ある Portion オブジェクト::
// Conceptual usage:
// auto& portion_format = portion.portion_format();
// auto& font = portion_format.latin_font();
// font.set_font_name("Arial");