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 フォントリソースです。
参照
- Typedef SharedPtr
- Class XpsFont
- Class Stream
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
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)
| パラメーター | 型 | 説明 |
|---|---|---|
| fontFamily | System::String | フォントファミリーです。 |
| fontStyle | System::Drawing::FontStyle | フォントスタイルです。 |
ReturnValue
新しい TrueType フォントリソースです。
参照
- Typedef SharedPtr
- Class XpsFont
- Class String
- Enum FontStyle
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++