insert_glyphs method

insert_glyphs

Inserts new glyphs to the active page at index position.

Returns

Inserted glyphs.

def insert_glyphs(self, index, font, font_size, origin_x, origin_y, unicode_string):
    ...
ParameterTypeDescription
indexintPosition at which new glyphs should be inserted.
fontaspose.page.xps.xpsmodel.XpsFontFont resource.
font_sizefloatFont size.
origin_xfloatGlyphs origin X coordinate.
origin_yfloatGlyphs origin Y coordinate.
unicode_stringstrString to be printed.

insert_glyphs

Inserts new glyphs to the active page at index position.

Returns

Inserted glyphs.

def insert_glyphs(self, index, font_family, font_size, font_style, origin_x, origin_y, unicode_string):
    ...
ParameterTypeDescription
indexintPosition at which new glyphs should be inserted.
font_familystrFont family.
font_sizefloatFont size.
font_styleaspose.pydrawing.FontStyleFont style.
origin_xfloatGlyphs origin X coordinate.
origin_yfloatGlyphs origin Y coordinate.
unicode_stringstrString to be printed.

See Also