Creates a GlyphRun instance for specified Glyphs element. The glyphs bounds are
calculated relative to the specified framework element.
Namespace: FirstFloor.Documents.Fonts
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax
Parameters
- glyphs
- Type: System.Windows.DocumentsGlyphs
The glyphs. - relativeTo
- Type: System.WindowsFrameworkElement
The relative to.
Return Value
Type: GlyphRunThe created GlyphRun.
Remarks
This method only works when the associated font uri references a resource in an assembly.
See Also