• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FileSystemStreamSource

Reads a font from a file on the local file system.

Inheritance
object
FileSystemStreamSource
Implements
IStreamSource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Font.Sources
Assembly: DRIT.Drawing.dll
Syntax
public sealed class FileSystemStreamSource : IStreamSource

Constructors

FileSystemStreamSource(string)

Initializes a new FileSystemStreamSource with the specified file path.

Declaration
public FileSystemStreamSource(string filePath)
Parameters
Type Name Description
string filePath

The path to the font file.

Properties

FilePath

Gets the absolute or relative path to the font file.

Declaration
public string FilePath { get; }
Property Value
Type Description
string

Methods

GetFontStream()

Opens and returns a stream over the font data. The caller is responsible for disposing the returned stream.

Declaration
public Stream GetFontStream()
Returns
Type Description
Stream

Implements

IStreamSource
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX