Aspose::Page::XPS::XpsDocument::InsertGlyphs 方法
内容
[
隐藏
]XpsDocument::InsertGlyphs(int32_t, System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String) method
在 index 位置向活动页面插入新的 Glyphs。
System::SharedPtr<XpsModel::XpsGlyphs> Aspose::Page::XPS::XpsDocument::InsertGlyphs(int32_t index, System::SharedPtr<XpsModel::XpsFont> font, float fontSize, float originX, float originY, System::String unicodeString)
| Parameter | Type | 描述 |
|---|---|---|
| 索引 | int32_t | 应插入新字形的位置。 |
| font | System::SharedPtr<XpsModel::XpsFont> | Font 资源。 |
| fontSize | float | Font 大小。 |
| originX | 单精度浮点数 | 字形原点 X 坐标。 |
| originY | 单精度浮点数 | 字形原点 Y 坐标。 |
| unicodeString | System::String | 要打印的字符串。 |
ReturnValue
已插入的字形。
另见
- Typedef SharedPtr
- Class XpsGlyphs
- Class XpsFont
- Class String
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::InsertGlyphs(int32_t, System::String, float, System::Drawing::FontStyle, float, float, System::String) method
在 index 位置向活动页面插入新的 Glyphs。
System::SharedPtr<XpsModel::XpsGlyphs> Aspose::Page::XPS::XpsDocument::InsertGlyphs(int32_t index, System::String fontFamily, float fontSize, System::Drawing::FontStyle fontStyle, float originX, float originY, System::String unicodeString)
| Parameter | Type | 描述 |
|---|---|---|
| 索引 | int32_t | 应插入新字形的位置。 |
| fontFamily | System::String | Font 字体族。 |
| fontSize | float | Font 大小。 |
| fontStyle | System::Drawing::FontStyle | Font 样式。 |
| originX | 单精度浮点数 | 字形原点 X 坐标。 |
| originY | 单精度浮点数 | 字形原点 Y 坐标。 |
| unicodeString | System::String | 要打印的字符串。 |
ReturnValue
已插入的字形。
另见
- Typedef SharedPtr
- Class XpsGlyphs
- Class String
- Enum FontStyle
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++