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
public static GlyphRun CreateGlyphRun( Glyphs glyphs, Stream fontStream, FrameworkElement relativeTo )
Parameters
- glyphs
- Type: System.Windows.DocumentsGlyphs
The glyphs. - fontStream
- Type: System.IOStream
The font stream that is used by the glyphs element. - relativeTo
- Type: System.WindowsFrameworkElement
The relative to.
Return Value
Type: GlyphRunThe created GlyphRun
See Also