add_glyphs method
Contents
[
Hide
]add_glyphs
Adds a glyphs element
Returns
Added glyphs element.
def add_glyphs(self, element):
...
Parameter | Type | Description |
---|---|---|
element | aspose.page.xps.xpsmodel.XpsGlyphs | The glyphs element to be added. |
add_glyphs
Adds new glyphs to the active page.
Returns
Added glyphs.
def add_glyphs(self, font, font_rendering_em_size, origin_x, origin_y, unicode_string):
...
Parameter | Type | Description |
---|---|---|
font | aspose.page.xps.xpsmodel.XpsFont | Font resource. |
font_rendering_em_size | float | Font size. |
origin_x | float | Glyphs origin X coordinate. |
origin_y | float | Glyphs origin Y coordinate. |
unicode_string | str | String to be printed. |
add_glyphs
Adds new glyphs to the active page.
Returns
Added glyphs.
def add_glyphs(self, font_family, font_rendering_em_size, font_style, origin_x, origin_y, unicode_string):
...
Parameter | Type | Description |
---|---|---|
font_family | str | Font family. |
font_rendering_em_size | float | Font size. |
font_style | aspose.pydrawing.FontStyle | Font style. |
origin_x | float | Glyphs origin X coordinate. |
origin_y | float | Glyphs origin Y coordinate. |
unicode_string | str | String to be printed. |
See Also
- module
aspose.page.xps
- class
XpsDocument
- class
XpsGlyphs