XpsGlyphs class

XpsGlyphs class

Class incapsulating Glyphs element features. This element represents a run of uniformly-formatted text from a single font. It provides information necessary for accurate rendering and supports search and selection features in viewing consumers.

Inheritance: XpsGlyphsXpsContentElementXpsHyperlinkElementXpsElementXpsObject

The XpsGlyphs type exposes the following members:

Properties

PropertyDescription
countReturns number of child elements.
hyperlink_targetReturns/sets hyperlink target object.
render_transformReturns/sets the affine transformation matrix establishing a new coordinate frame
for all attributes of the element and for all child elements (if any).
clipReturns/sets the path geometry instance limiting the rendered region of the element.
opacityReturns/sets the value defining the uniform transparency of the element.
opacity_maskReturns/sets the brush specifying a mask of alpha values
that is applied to the element in the same fashion as the Opacity attribute,
but allowing different alpha values for different areas of the element.
bidi_levelReturns/sets the value specifying the Unicode algorithm bidirectional nesting level.
Even values imply left-to-right layout, odd values imply right-to-left layout.
Right-to-left layout places the run origin at the right side of the first glyph,
with positive advance widths (representing advances to the left) placing subsequent
glyphs to the left of the previous glyph.
fillReturns/sets the brush used to fill the shape of the rendered glyphs.
fontReturns font resource for the TrueType font used to typeset elements text.
font_rendering_em_sizeReturns/sets the font size in drawing surface units, expressed as a float
in units of the effective coordinate space.
origin_xReturns/sets the x coordinate of the first glyph in the run,
in units of the effective coordinate space.
origin_yReturns/sets the y coordinate of the first glyph in the run,
in units of the effective coordinate space.
is_sidewaysReturns/sets the value indicating that a glyph is turned on its side,
with the origin being defined as the top center of the unturned glyph.
unicode_stringReturns/sets the string of text rendered by the Glyphs element.
The text is specified as Unicode code points.
style_simulationsReturns/sets the value specifying a style simulation.

Indexer

NameDescription
[index]

Methods

MethodDescription
cloneClone this glyphs.

See Also