Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::InsertGlyphs 方法

PageAPI::InsertGlyphs(int32_t, System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String) method

index 位置向页面插入新的 Glyphs。

System::SharedPtr<XpsModel::XpsGlyphs> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::InsertGlyphs(int32_t index, System::SharedPtr<XpsModel::XpsFont> font, float fontSize, float originX, float originY, System::String unicodeString)
ParameterType描述
索引int32_t应插入新字形的位置。
fontSystem::SharedPtr<XpsModel::XpsFont>Font 资源。
fontSizefloatFont 大小。
originX单精度浮点数字形原点 X 坐标。
originY单精度浮点数字形原点 Y 坐标。
unicodeStringSystem::String要打印的字符串。

ReturnValue

已插入的字形。

另见

PageAPI::InsertGlyphs(int32_t, System::String, float, System::Drawing::FontStyle, float, float, System::String) method

index 位置向页面插入新的 Glyphs。

System::SharedPtr<XpsModel::XpsGlyphs> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::InsertGlyphs(int32_t index, System::String fontFamily, float fontSize, System::Drawing::FontStyle fontStyle, float originX, float originY, System::String unicodeString)
ParameterType描述
索引int32_t应插入新字形的位置。
fontFamilySystem::StringFont 字体族。
fontSizefloatFont 大小。
fontStyleSystem::Drawing::FontStyleFont 样式。
originX单精度浮点数字形原点 X 坐标。
originY单精度浮点数字形原点 Y 坐标。
unicodeStringSystem::String要打印的字符串。

ReturnValue

已插入的字形。

另见