Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::AddGlyphs method
内容
[
隐藏
]PageAPI::AddGlyphs(System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String) method
向页面添加新的 glyphs。
System::SharedPtr<XpsModel::XpsGlyphs> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::AddGlyphs(System::SharedPtr<XpsModel::XpsFont> font, float fontRenderingEmSize, float originX, float originY, System::String unicodeString)
| Parameter | Type | 描述 |
|---|---|---|
| font | System::SharedPtr<XpsModel::XpsFont> | Font 资源。 |
| fontRenderingEmSize | float | Font 大小。 |
| originX | 单精度浮点数 | 字形原点 X 坐标。 |
| originY | 单精度浮点数 | 字形原点 Y 坐标。 |
| unicodeString | System::String | 要打印的字符串。 |
ReturnValue
已添加的字形。
另见
- Typedef SharedPtr
- Class XpsGlyphs
- Class XpsFont
- Class String
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++
PageAPI::AddGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String) method
向页面添加新的 glyphs。
System::SharedPtr<XpsModel::XpsGlyphs> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::AddGlyphs(System::String fontFamily, float fontRenderingEmSize, System::Drawing::FontStyle fontStyle, float originX, float originY, System::String unicodeString)
| Parameter | Type | 描述 |
|---|---|---|
| fontFamily | System::String | Font 字体族。 |
| fontRenderingEmSize | float | Font 大小。 |
| fontStyle | System::Drawing::FontStyle | Font 样式。 |
| originX | 单精度浮点数 | 字形原点 X 坐标。 |
| originY | 单精度浮点数 | 字形原点 Y 坐标。 |
| unicodeString | System::String | 要打印的字符串。 |
ReturnValue
已添加的字形。
另见
- Typedef SharedPtr
- Class XpsGlyphs
- Class String
- Enum FontStyle
- Class PageAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++