ImageEn, unit ievision

TIEVisionSearchablePDFGenerator.langLoaded

TIEVisionSearchablePDFGenerator.langLoaded


Declaration

function langLoaded(): bool32; safecall;


Description

Returns True if the PDF generator object has been successfully initialized and the specified language(s) have been loaded.


Example

// create PDF generator object
pdfGen := IEVisionLib.createSearchablePDFGenerator(PAnsiChar(AnsiString(langPath)), PAnsiChar(AnsiString(langCode)) );

// Check language files are available
if pdfGen.langLoaded() = False then
  raise Exception.create( 'Language is not loaded!' );