Class FileSystemStreamSource

FileSystemStreamSource class

Represents a stream source based on file system.

public class FileSystemStreamSource : StreamSource

Constructors

NameDescription
FileSystemStreamSource(string)Initializes new FileSystemStreamSource object.

Properties

NameDescription
FileName { get; set; }Gets or sets file name.
Offset { get; set; }Gets or sets offset inside the source.

Methods

NameDescription
override Clone()Clones the FileSystemStreamSource object.
override GetFontStream()Returns font file stream. Don’t forget to close the stream after use.
virtual MustCloseAfterUse()The inheritors may prevent stream from closing. Returns true if the stream source wants the stream to be closed after use. Otherwise returns false.

See Also