Class XpsGlyphs

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.

public sealed class XpsGlyphs : XpsContentElement

Properties

NameDescription
BidiLevel { get; set; }Returns/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.
Clip { get; set; }Returns/sets the path geometry instance limiting the rendered region of the element.
Count { get; }Returns number of child elements.
Fill { get; set; }Returns/sets the brush used to fill the shape of the rendered glyphs.
Font { get; }Returns font resource for the TrueType font used to typeset elements text.
FontRenderingEmSize { get; set; }Returns/sets the font size in drawing surface units, expressed as a float in units of the effective coordinate space.
HyperlinkTarget { get; set; }Returns/sets hyperlink target object.
IsSideways { get; set; }Returns/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.
Item { get; }Provides access to element’s children by index i.
Opacity { get; set; }Returns/sets the value defining the uniform transparency of the element.
OpacityMask { get; set; }Returns/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.
OriginX { get; set; }Returns/sets the x coordinate of the first glyph in the run, in units of the effective coordinate space.
OriginY { get; set; }Returns/sets the y coordinate of the first glyph in the run, in units of the effective coordinate space.
RenderTransform { get; set; }Returns/sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).
StyleSimulations { get; set; }Returns/sets the value specifying a style simulation.
UnicodeString { get; set; }Returns/sets the string of text rendered by the Glyphs element. The text is specified as Unicode code points.

Methods

NameDescription
Clone()Clone this glyphs.
GetEnumerator()Implementation of IEnumerable interface.

See Also