Show / Hide Table of Contents

Class FontSource

Represents one or more fonts created from a stream.

Inheritance
System.Object
FontSource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Documents
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public class FontSource

Constructors

| Improve this Doc View Source

FontSource(Stream)

Initializes a new instance of the FontSource class.

Declaration
public FontSource(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream

The stream that contains the font source.

| Improve this Doc View Source

FontSource(GlyphTypeface)

Initializes a new instance of the FontSource class.

Declaration
public FontSource(GlyphTypeface glyphtypeface)
Parameters
Type Name Description
GlyphTypeface glyphtypeface

The GlyphTypeface object that contains the font file.

  • Improve this Doc
  • View Source