FileSystemStreamSource

FileSystemStreamSource class

Represents a stream source based on file system.

public class FileSystemStreamSource : StreamSource

Constructors

Name Description
FileSystemStreamSource(string) Initializes new FileSystemStreamSource object.

Properties

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

Methods

Name Description
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