Link Search Menu Expand Document

Font Constructor (String, Single, Boolean, Boolean, Boolean, Boolean)

Initializes a new Bytescout.PDF.Font using a specified properties.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.3.0.623-master
Syntax
public Font(
	string fontName,
	float emSize,
	bool bold,
	bool italic,
	bool underline,
	bool strikeout
)

Parameters

fontName
Type: SystemString
The name of the font.
emSize
Type: SystemSingle
The em-size, in points, of the font.
bold
Type: SystemBoolean
If set to true, the initialized font will be bold.
italic
Type: SystemBoolean
If set to true, the initialized font will be italic.
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.
See Also

Reference


Copyright © 2016 - 2021 ByteScout