Class XpsGlyphs
Namespace: Aspose.Page.XPS.XpsModel
Assembly: Aspose.Page.dll (25.1.2)
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, IEnumerable<xpscontentelement>, IEnumerable
Inheritance
object ← XpsObject ← XpsElement ← XpsHyperlinkElement ← XpsContentElement ← XpsGlyphs
Implements
IEnumerable<xpscontentelement>, IEnumerable
Inherited Members
XpsContentElement.RenderTransform, XpsContentElement.Clip, XpsContentElement.Opacity, XpsContentElement.OpacityMask, XpsHyperlinkElement.HyperlinkTarget, XpsElement.GetEnumerator(), XpsElement.this[int], XpsElement.Count, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
BidiLevel
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.
public int BidiLevel { get; set; }
Property Value
Fill
Returns/sets the brush used to fill the shape of the rendered glyphs.
public XpsBrush Fill { get; set; }
Property Value
Font
Returns font resource for the TrueType font used to typeset elements text.
public XpsFont Font { get; }
Property Value
FontRenderingEmSize
Returns/sets the font size in drawing surface units, expressed as a float in units of the effective coordinate space.
public float FontRenderingEmSize { get; set; }
Property Value
IsSideways
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.
public bool IsSideways { get; set; }
Property Value
OriginX
Returns/sets the x coordinate of the first glyph in the run, in units of the effective coordinate space.
public float OriginX { get; set; }
Property Value
OriginY
Returns/sets the y coordinate of the first glyph in the run, in units of the effective coordinate space.
public float OriginY { get; set; }
Property Value
StyleSimulations
Returns/sets the value specifying a style simulation.
public XpsStyleSimulations StyleSimulations { get; set; }
Property Value
UnicodeString
Returns/sets the string of text rendered by the Glyphs element. The text is specified as Unicode code points.
public string UnicodeString { get; set; }
Property Value
Methods
Clone()
Clone this glyphs.
public XpsGlyphs Clone()
Returns
Clone of this glyphs. </xpscontentelement>