Translates a string-value of a certain family into the index that is used for this family in this class.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Collapse imageSyntax

C#
public static int GetFamilyIndex(
	string family
)
Visual Basic
Public Shared Function GetFamilyIndex ( _
	family As String _
) As Integer
Visual C++
public:
static int GetFamilyIndex(
	String^ family
)

Parameters

family
Type: System..::..String
A string representing a certain font-family

Return Value

the corresponding index

Collapse imageSee Also