Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TMS FNC Core
PDF Export for TMS WEB Core

For adding PDF Export to TMS WEB Core applications, you can use the TTMSFNCPDFLib component. For font rendering it is important to add the required fonts to your application. This can be done via the following code.
Application.OnFontCacheReady := DoFontCacheReady;
AddFontToCache(''https://myserver.com/tmsweb/pdf/fonts/arial.ttf'');
AddFontToCache(''https://myserver.com/tmsweb/pdf/fonts/tahoma.ttf'');
The OnFontCacheReady event is triggered when the fonts, loaded via AddFontToCache are pre-loaded.