FontParserIsValidFontStream Method Document Toolkit Help
Determines whether specified stream contains a valid Open Type font.

Namespace: FirstFloor.Documents.Fonts
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public static bool IsValidFontStream(
	Stream fontStream
)

Parameters

fontStream
Type: System.IOStream
The font stream.

Return Value

Type: Boolean
true if specified stream contains a valid font; otherwise, false.
See Also

Reference