Package com.ironsoftware.ironpdf.font
Class FontTypes
java.lang.Object
com.ironsoftware.ironpdf.internal.staticapi.Utils_CustomEnumeration
com.ironsoftware.ironpdf.font.FontTypes
- All Implemented Interfaces:
- Comparable<Utils_CustomEnumeration>
Supported PDF Fonts
- 
Method SummaryModifier and TypeMethodDescriptionstatic FontTypescreateCustomFont(String Name, String FontFilePath) Create custom font types.static FontTypesfromString(String FontNameOrFilePath) Gets FontTypes from font name or font file path.static FontTypesgetArial()Gets arial.static FontTypesGets arial bold.static FontTypesGets arial bold italic.static FontTypesGets arial italic.static FontTypesGets courier.static FontTypesGets courier bold.static FontTypesGets courier bold oblique.static FontTypesGets courier new.static FontTypesGets courier new bold.static FontTypesGets courier new bold italic.static FontTypesGets courier new italic.static FontTypesGets courier oblique.Gets custom font file path.static FontTypesGets helvetica.static FontTypesGets helvetica bold.static FontTypesGets helvetica bold oblique.static FontTypesGets helvetica oblique.static FontTypesGets symbol.static FontTypesGets times new roman.static FontTypesGets times new roman bold.static FontTypesGets times new roman bold italic.static FontTypesGets times new roman italic.static FontTypesGets zapf dingbats.
- 
Method Details- 
createCustomFontCreate custom font types.- Parameters:
- Name- the name
- FontFilePath- the font file (.ttf, .otf, etc.) path
- Returns:
- the font types
 
- 
fromStringGets FontTypes from font name or font file path.- Parameters:
- FontNameOrFilePath- the font name or file path
- Returns:
- the font types
 
- 
getArialGets arial.- Returns:
- the arial
 
- 
getArialBoldGets arial bold.- Returns:
- the arial bold
 
- 
getArialBoldItalicGets arial bold italic.- Returns:
- the arial bold italic
 
- 
getArialItalicGets arial italic.- Returns:
- the arial italic
 
- 
getCourierGets courier.- Returns:
- the courier
 
- 
getCourierBoldObliqueGets courier bold oblique.- Returns:
- the courier bold oblique
 
- 
getCourierObliqueGets courier oblique.- Returns:
- the courier oblique
 
- 
getCourierBoldGets courier bold.- Returns:
- the courier bold
 
- 
getCourierNewGets courier new.- Returns:
- the courier new
 
- 
getCourierNewBoldGets courier new bold.- Returns:
- the courier new bold
 
- 
getCourierNewBoldItalicGets courier new bold italic.- Returns:
- the courier new bold italic
 
- 
getCourierNewItalicGets courier new italic.- Returns:
- the courier new italic
 
- 
getHelveticaGets helvetica.- Returns:
- the helvetica
 
- 
getHelveticaBoldGets helvetica bold.- Returns:
- the helvetica bold
 
- 
getHelveticaBoldObliqueGets helvetica bold oblique.- Returns:
- the helvetica bold oblique
 
- 
getHelveticaObliqueGets helvetica oblique.- Returns:
- the helvetica oblique
 
- 
getSymbolGets symbol.- Returns:
- the symbol
 
- 
getTimesNewRomanGets times new roman.- Returns:
- the times new roman
 
- 
getTimesNewRomanBoldGets times new roman bold.- Returns:
- the times new roman bold
 
- 
getTimesNewRomanBoldItalicGets times new roman bold italic.- Returns:
- the times new roman bold italic
 
- 
getTimesNewRomanItalicGets times new roman italic.- Returns:
- the times new roman italic
 
- 
getZapfDingbatsGets zapf dingbats.- Returns:
- the zapf dingbats
 
- 
getCustomFontFilePathGets custom font file path. Only available when FontTypes object was created bycreateCustomFont(String, String)- Returns:
- the custom font file path
 
 
-