OfficeShapedGlyph
OfficeIMO.Drawing
Maps one shaped font glyph back to its logical Unicode source.
Inheritance
- ValueType
- OfficeShapedGlyph
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property OfficeTextShapingResult.Glyphs
Accepted by parameters 1
- Constructor OfficeTextShapingResult.OfficeTextShapingResult
Constructors
public OfficeShapedGlyph(int glyphId, string unicodeText, int textIndex) #Creates a glyph that uses the font's nominal advance.
Parameters
- glyphId int
- unicodeText string
- textIndex int
public OfficeShapedGlyph(int glyphId, string unicodeText, int textIndex, int advanceWidth, int offsetX = 0, int offsetY = 0) #Creates a positioned glyph expressed in the request font's design units.
Parameters
- glyphId int
- unicodeText string
- textIndex int
- advanceWidth int
- offsetX int = 0
- offsetY int = 0
public OfficeShapedGlyph(int glyphId, string unicodeText, int textIndex, int advanceWidth, int advanceHeight, int offsetX, int offsetY) #Creates a positioned glyph with horizontal and vertical advances expressed in font design units.
Parameters
- glyphId int
- unicodeText string
- textIndex int
- advanceWidth int
- advanceHeight int
- offsetX int
- offsetY int
Inherited Methods
Properties
public string UnicodeText { get; } #Logical Unicode text represented by this glyph.
public int TextIndex { get; } #UTF-16 source index where OfficeShapedGlyph.UnicodeText begins.
public int? AdvanceWidth { get; } #Optional shaped advance in font design units; null uses the nominal glyph width.
public int? AdvanceHeight { get; } #Optional shaped vertical advance in font design units; null means no vertical pen movement.
public int OffsetX { get; } #Horizontal placement offset in font design units.
public int OffsetY { get; } #Vertical placement offset in font design units.