Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertytPdfCanvas.Unrenderable

property Unrenderable: tPdfUnrenderable read fUnrenderable write fUnrenderable;
Can every character of aText be carried by WinAnsiEncoding? When not, aBadAt is the 1-based index into aText of the first that cannot and aCodePoint is its Unicode scalar value (a surrogate pair is reported as the one code point it encodes, and its index is that of the high surrogate). Both are 0 on True.

This is the non-raising form of the check TextOut, TextWidth and FitText all make. A caller that must not fail mid-document - an invoice flow that spends a number before it renders, say - asks here first and refuses the document, not the page. Strict by default. A caller that sets puSubstitute is opting into a lossy document and takes on the duty of reading Substitutions.