LastError
Color management
Description
The bounded English diagnostic for the most recent construction or conversion failure of the TPDFICCComponentTransform instance, such as an unavailable conversion library, an invalid profile, input that is not a whole number of component tuples, non-finite samples or an exceeded sample budget.
The property is cleared when construction succeeds and after every successful Transform call, so a non-empty value always describes the latest failure. The CMM's own log callback is silenced by the instance, so backend errors surface here instead of being written to the process error output.
Syntax
Delphi
property LastError: AnsiString read FErrorText;Remarks
Check this property whenever Valid is false or Transform returned false; it is not reset by reading it.