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 Summary
Modifier and TypeMethodDescriptionstatic FontTypes
createCustomFont
(String Name, String FontFilePath) Create custom font types.static FontTypes
fromString
(String FontNameOrFilePath) Gets FontTypes from font name or font file path.static FontTypes
getArial()
Gets arial.static FontTypes
Gets arial bold.static FontTypes
Gets arial bold italic.static FontTypes
Gets arial italic.static FontTypes
Gets courier.static FontTypes
Gets courier bold.static FontTypes
Gets courier bold oblique.static FontTypes
Gets courier new.static FontTypes
Gets courier new bold.static FontTypes
Gets courier new bold italic.static FontTypes
Gets courier new italic.static FontTypes
Gets courier oblique.Gets custom font file path.static FontTypes
Gets helvetica.static FontTypes
Gets helvetica bold.static FontTypes
Gets helvetica bold oblique.static FontTypes
Gets helvetica oblique.static FontTypes
Gets symbol.static FontTypes
Gets times new roman.static FontTypes
Gets times new roman bold.static FontTypes
Gets times new roman bold italic.static FontTypes
Gets times new roman italic.static FontTypes
Gets zapf dingbats.
-
Method Details
-
createCustomFont
Create custom font types.- Parameters:
Name
- the nameFontFilePath
- the font file (.ttf, .otf, etc.) path- Returns:
- the font types
-
fromString
Gets FontTypes from font name or font file path.- Parameters:
FontNameOrFilePath
- the font name or file path- Returns:
- the font types
-
getArial
Gets arial.- Returns:
- the arial
-
getArialBold
Gets arial bold.- Returns:
- the arial bold
-
getArialBoldItalic
Gets arial bold italic.- Returns:
- the arial bold italic
-
getArialItalic
Gets arial italic.- Returns:
- the arial italic
-
getCourier
Gets courier.- Returns:
- the courier
-
getCourierBoldOblique
Gets courier bold oblique.- Returns:
- the courier bold oblique
-
getCourierOblique
Gets courier oblique.- Returns:
- the courier oblique
-
getCourierBold
Gets courier bold.- Returns:
- the courier bold
-
getCourierNew
Gets courier new.- Returns:
- the courier new
-
getCourierNewBold
Gets courier new bold.- Returns:
- the courier new bold
-
getCourierNewBoldItalic
Gets courier new bold italic.- Returns:
- the courier new bold italic
-
getCourierNewItalic
Gets courier new italic.- Returns:
- the courier new italic
-
getHelvetica
Gets helvetica.- Returns:
- the helvetica
-
getHelveticaBold
Gets helvetica bold.- Returns:
- the helvetica bold
-
getHelveticaBoldOblique
Gets helvetica bold oblique.- Returns:
- the helvetica bold oblique
-
getHelveticaOblique
Gets helvetica oblique.- Returns:
- the helvetica oblique
-
getSymbol
Gets symbol.- Returns:
- the symbol
-
getTimesNewRoman
Gets times new roman.- Returns:
- the times new roman
-
getTimesNewRomanBold
Gets times new roman bold.- Returns:
- the times new roman bold
-
getTimesNewRomanBoldItalic
Gets times new roman bold italic.- Returns:
- the times new roman bold italic
-
getTimesNewRomanItalic
Gets times new roman italic.- Returns:
- the times new roman italic
-
getZapfDingbats
Gets zapf dingbats.- Returns:
- the zapf dingbats
-
getCustomFontFilePath
Gets custom font file path. Only available when FontTypes object was created bycreateCustomFont(String, String)
- Returns:
- the custom font file path
-