Link Search Menu Expand Document

FontFromStream Method (Stream, Single, Boolean, Boolean)

Creates a Bytescout.PDF.Font from the specified data stream.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public static Font FromStream(
	Stream stream,
	float emSize,
	bool underline,
	bool strikeout
)

Parameters

stream
Type: System.IOStream
A System.IO.Stream that contains the data for this Bytescout.PDF.Font.
emSize
Type: SystemSingle
The em-size, in points, of the font.
underline
Type: SystemBoolean
If set to true, the initialized font will be underlined.
strikeout
Type: SystemBoolean
If set to true, the initialized font will be stroked out.

Return Value

Type: Font
The Bytescout.PDF.Font this method creates.
See Also

Reference