iText 7 7.1.8 API
|
Use this class for working with true type collection font (*.ttc) More...
Public Member Functions |
|
TrueTypeCollection (byte[] ttc) | |
Creates a new TrueTypeCollection instance by its bytes. More... |
|
TrueTypeCollection (String ttcPath) | |
Creates a new TrueTypeCollection instance by its file path. More... |
|
virtual FontProgram | GetFontByTccIndex (int ttcIndex) |
method return TrueTypeFont by ttc index More... |
|
virtual int | GetTTCSize () |
returns the number of fonts in True Type Collection (file or bytes array) More... |
|
virtual bool | IsCached () |
Indicates if fonts created by the call to GetFontByTccIndex(int) will be cached or not. More... |
|
virtual void | SetCached (bool cached) |
Sets if fonts created by the call to GetFontByTccIndex(int) will be cached or not. More... |
|
Use this class for working with true type collection font (*.ttc)
|
inline |
Creates a new TrueTypeCollection instance by its bytes.
ttc | the byte contents of the collection |
System.IO.IOException | in case the input in mal-formatted |
|
inline |
Creates a new TrueTypeCollection instance by its file path.
ttcPath | the path of the collection |
System.IO.IOException | in case the input in mal-formatted |
|
inlinevirtual |
method return TrueTypeFont by ttc index
ttcIndex | the index for the TTC font |
System.IO.IOException |
|
inlinevirtual |
returns the number of fonts in True Type Collection (file or bytes array)
|
inlinevirtual |
Indicates if fonts created by the call to GetFontByTccIndex(int) will be cached or not.
|
inlinevirtual |
Sets if fonts created by the call to GetFontByTccIndex(int) will be cached or not.
cached |
true
false
|