Searches for a font with the specified name and charset, which exactly matches the specified bold/italic styles.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public EmbeddedFont FindFont(
	string name,
	int charSet,
	bool bold,
	bool italic
)
Visual Basic
Public Function FindFont ( _
	name As String, _
	charSet As Integer, _
	bold As Boolean, _
	italic As Boolean _
) As EmbeddedFont

Parameters

name
Type: System..::..String
The name of the font to search for.
charSet
Type: System..::..Int32
The charset to search for.
bold
Type: System..::..Boolean
The bold style to search for.
italic
Type: System..::..Boolean
The italic style to search for.

Return Value

The matching EmbeddedFont, or null if an exact match was not found.

See Also