iText 8.0.2 API
iText.IO.Font.FontNames Class Reference

Public Member Functions

virtual String[][]  GetNames (int id)
  Extracts the names of the font in all the languages available. More...
 
virtual String[][]  GetFullName ()
 
virtual String  GetFontName ()
 
virtual String  GetCidFontName ()
 
virtual String[][]  GetFamilyName ()
 
virtual String[][]  GetFamilyName2 ()
  Get extra family name if exists. More...
 
virtual String  GetStyle ()
 
virtual String  GetSubfamily ()
 
virtual int  GetFontWeight ()
 
virtual String  GetFontStretch ()
  Gets font stretch in css notation (font-stretch property). More...
 
virtual bool  AllowEmbedding ()
 
virtual bool  IsBold ()
 
virtual bool  IsItalic ()
 
virtual bool  IsUnderline ()
 
virtual bool  IsOutline ()
 
virtual bool  IsShadow ()
 
virtual bool  IsCondensed ()
 
virtual bool  IsExtended ()
 
override String  ToString ()
 

Member Function Documentation

◆ GetFamilyName2()

virtual String [][] iText.IO.Font.FontNames.GetFamilyName2 ( )
inlinevirtual

Get extra family name if exists.

Returns
extra family name if exists in the font, null otherwise.

◆ GetFontStretch()

virtual String iText.IO.Font.FontNames.GetFontStretch ( )
inlinevirtual

Gets font stretch in css notation (font-stretch property).

Returns
One of iText.IO.Font.Constants.FontStretches values.

◆ GetNames()

virtual String [][] iText.IO.Font.FontNames.GetNames ( int  id )
inlinevirtual

Extracts the names of the font in all the languages available.

Parameters
id the name id to retrieve in OpenType notation
Returns
not empty String[][] if any names exists, otherwise null.