add_glyphs method

add_glyphs

Adds a glyphs element

Returns

Added glyphs element.

def add_glyphs(self, element):
    ...
ParameterTypeDescription
elementaspose.page.xps.xpsmodel.XpsGlyphsThe 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):
    ...
ParameterTypeDescription
fontaspose.page.xps.xpsmodel.XpsFontFont resource.
font_rendering_em_sizefloatFont size.
origin_xfloatGlyphs origin X coordinate.
origin_yfloatGlyphs origin Y coordinate.
unicode_stringstrString 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):
    ...
ParameterTypeDescription
font_familystrFont family.
font_rendering_em_sizefloatFont size.
font_styleaspose.pydrawing.FontStyleFont style.
origin_xfloatGlyphs origin X coordinate.
origin_yfloatGlyphs origin Y coordinate.
unicode_stringstrString to be printed.

See Also