Aspose::Page::XPS::XpsDocument::CreateFont method

XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream>) method

ストリームから新しい TrueType フォントリソースを作成します。

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream> stream)
パラメーター説明
ストリームSystem::SharedPtr<System::IO::Stream>リソースとして使用する ICC プロファイルを含むストリームです。

ReturnValue

新しい TrueType フォントリソースです。

参照

XpsDocument::CreateFont(System::String, System::Drawing::FontStyle) method

TrueType フォントリソースを新規作成します。

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::String fontFamily, System::Drawing::FontStyle fontStyle)
パラメーター説明
fontFamilySystem::Stringフォントファミリーです。
fontStyleSystem::Drawing::FontStyleフォントスタイルです。

ReturnValue

新しい TrueType フォントリソースです。

参照