ValidSelectionUnit
Moduli, interazione, Unicode
Descrizione
TPDFlibFormSelectionUnit
SetSelectionRange sia compreso tra i limiti inferiore e superiore dell'enumerazione dichiarata
Il controllo protegge le API di selezione dai valori fuori intervallo che possono raggiungere la sessione come dati non tipizzati, e GetSelectionRange, GetVisualCaretOrder e
Dichiarazione
function ValidSelectionUnit(
IndexUnit: TPDFlibFormSelectionUnit): Boolean;
Parametri
| IndexUnit | Valore dell'unità di selezione da convalidare |
|---|
Valore restituito
Restituisce True quando il valore è uno tra fsuUTF16CodeUnit, fsuUnicodeCodePoint o fsuGraphemeCluster, altrimenti False
Vedere anche
TPDFlibFormSelectionUnit, SetSelectionRange, GetSelectionRange, SelectionUnitToUTF16, ValidField